summaryrefslogtreecommitdiff
path: root/openpcd/opcd_test/Makefile
blob: edae90fdae51170fe68fb3efa223852c276c0b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make
LDFLAGS=-lusb

all: opcd_test

clean:
	-rm -f *.o opcd_test
	$(MAKE) -C ausb clean

ausb/libausb.a:
	$(MAKE) -C ausb libausb.a

opcd_test: opcd_test.o opcd_usb.o ausb/libausb.a
	$(CC) $(LDFLAGS) -o $@ $^

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

.PHONEY: all clean
personal git repositories of Harald Welte. Your mileage may vary