summaryrefslogtreecommitdiff
path: root/host/Makefile
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 22:10:10 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 22:10:10 +0000
commite73b417c526bc32355487544b92db058459a5619 (patch)
tree3519454064c19d4dd8a9080cf375cd69648562d6 /host/Makefile
parent6f440df07f8c30de45e944736ca2a11ae9ce3c43 (diff)
opcd_presence: counterpart for main_presence firmware - posts sighted tags to URL via http protocol
git-svn-id: https://svn.openpcd.org:2342/trunk@307 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'host/Makefile')
-rw-r--r--host/Makefile7
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 $@ $^
personal git repositories of Harald Welte. Your mileage may vary