aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorYan <yanxk.fnst@fujitsu.com>2024-02-19 18:56:44 +0800
committerYan <yanxk.fnst@fujitsu.com>2024-02-19 18:56:44 +0800
commitbc7cbe98dbc90a4fdcaf48c9adab2b0213aaac4f (patch)
tree9c26f54e595103405a2e693bcb772f374ee825b3 /test/Makefile
parent9de8a16162dcae3da11700df3e9ef18571c08969 (diff)
incar demo: test files
help test whether hardwares work Change-Id: I17912e3c29a5100bdf988ff825e876915512e91d Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
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