summaryrefslogtreecommitdiff
path: root/test_appl/Makefile
diff options
context:
space:
mode:
authorAndreas Auras <yak54@gmx.net>2010-03-06 20:53:49 +0100
committerAndreas Auras <yak54@gmx.net>2010-03-06 20:53:49 +0100
commitf243551b1cd3bccef9fdacc60b5b34687f88fed7 (patch)
tree983e266486ff4559a813b4fed689c8213b6c13e4 /test_appl/Makefile
parentc6f5dd57a40a1f5be661225f183c87452bd2d2b4 (diff)
downloaddf10ch-atmolight-controller-f243551b1cd3bccef9fdacc60b5b34687f88fed7.tar.gz
df10ch-atmolight-controller-f243551b1cd3bccef9fdacc60b5b34687f88fed7.tar.bz2
Added test application
Diffstat (limited to 'test_appl/Makefile')
-rw-r--r--test_appl/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/test_appl/Makefile b/test_appl/Makefile
new file mode 100644
index 0000000..9781205
--- /dev/null
+++ b/test_appl/Makefile
@@ -0,0 +1,16 @@
+#
+# Makefile for DF10CH Test program
+#
+CFLAGS_USB ?= $(shell pkg-config --cflags libusb-1.0)
+LIBS_USB ?= $(shell pkg-config --libs libusb-1.0)
+CFLAGS ?= -pipe -Wall -g
+
+.PHONY: all clean
+
+all: df10ch_test
+
+clean:
+ @-rm -f df10ch_test
+
+df10ch_test: df10ch_test.c ../df10ch_usb_proto.h
+ $(CC) $(CFLAGS) $(CFLAGS_USB) $(LIBS_USB) -o $@ $<