summaryrefslogtreecommitdiff
path: root/test_appl/Makefile
diff options
context:
space:
mode:
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 $@ $<