summaryrefslogtreecommitdiff
path: root/openpcd/opcd_test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openpcd/opcd_test/Makefile')
-rw-r--r--openpcd/opcd_test/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/openpcd/opcd_test/Makefile b/openpcd/opcd_test/Makefile
index f134513..12edce0 100644
--- a/openpcd/opcd_test/Makefile
+++ b/openpcd/opcd_test/Makefile
@@ -1,8 +1,8 @@
#!/usr/bin/make
-LDFLAGS=-lusb
+LDFLAGS=-lusb -lcrypt #-lzebvty -Lzebvty/
CFLAGS=-Wall
-all: opcd_test
+all: opcd_test opcd_sh
clean:
-rm -f *.o opcd_test
@@ -14,6 +14,10 @@ ausb/libausb.a:
opcd_test: opcd_test.o opcd_usb.o ausb/libausb.a
$(CC) $(LDFLAGS) -o $@ $^
+opcd_sh: opcd_sh.o opcd_usb.o ausb/libausb.a zebvty/libzebvty.a
+ $(CC) $(LDFLAGS) -o $@ $^
+
+
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
personal git repositories of Harald Welte. Your mileage may vary