summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: 8e36d3779d6531934e6a57b0466bff2427583e45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
CFLAGS=-I../../r820t/include  
LDFLAGS= `pkg-config --libs libusb` -L../../../r820t -lr820t -Wl,-rpath=../../../r820t

SOURCE += $(wildcard *.c)
BIN = $(SOURCE:.c=)

make: $(BIN)
	@echo $<

%: %.c
	$(CC) $(LDFLAGS) $(CFLAGS)   $<  -o $@ 

clean:
	rm -f $(BIN)