diff options
Diffstat (limited to 'host/Makefile')
-rw-r--r-- | host/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/host/Makefile b/host/Makefile index 12edce0..8d27808 100644 --- a/host/Makefile +++ b/host/Makefile @@ -1,8 +1,8 @@ #!/usr/bin/make LDFLAGS=-lusb -lcrypt #-lzebvty -Lzebvty/ -CFLAGS=-Wall +CFLAGS=-Wall -I../firmware/include -all: opcd_test opcd_sh +all: opcd_presence opcd_test opcd_sh clean: -rm -f *.o opcd_test @@ -11,6 +11,9 @@ clean: ausb/libausb.a: $(MAKE) -C ausb libausb.a +opcd_presence: opcd_presence.o opcd_usb.o ausb/libausb.a + $(CC) $(LDFLAGS) -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lz -o $@ $^ + opcd_test: opcd_test.o opcd_usb.o ausb/libausb.a $(CC) $(LDFLAGS) -o $@ $^ |