aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..0b04442
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,16 @@
+CFLAGS = -Wall -I../include/ -g
+
+LDFLAGS = -lcomfig -L../lib/
+
+.PHONY: all clean
+
+all: test_gprs test_zigbee
+
+test_gprs: test_gprs.c
+ $(CC) $(CFLAGS) test_gprs.c -o $@ $(LDFLAGS)
+
+test_zigbee: test_zigbee.c
+ $(CC) $(CFLAGS) test_zigbee.c -o $@ $(LDFLAGS)
+
+clean:
+ rm test_zigbee test_gprs