diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-11-09 20:01:37 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-11-09 20:01:37 +0100 |
commit | a915c1c944938f332e70aff8927f19b6e381eeea (patch) | |
tree | eb9301d3b28df8b01d6f208780d9ef827dea688d /Makefile |
initial checkin of some c-language code to parse Sierra Wireless HAPC
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3b6153c --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +OSMO_CFLAGS:=`pkg-config --cflags libosmocore` +OSMO_LDFLAGS:=`pkg-config --libs libosmocore` + +CFLAGS=-g -Wall $(OSMO_CFLAGS) +LDFLAGS=$(OSMO_LDFLAGS) + +all: hapc_test + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $< + + +hapc_test: hapc_test.o hapc_frame.o + $(CC) $(LDFLAGS) -o $@ $^ + +clean: + rm -f hapc_test *.o || true |