From a915c1c944938f332e70aff8927f19b6e381eeea Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 9 Nov 2015 20:01:37 +0100 Subject: initial checkin of some c-language code to parse Sierra Wireless HAPC --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3