summaryrefslogtreecommitdiff
path: root/test_appl/Makefile
blob: 9781205336e7a0725fd67142a0d7f2b11fcaf6c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 $@ $<