summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-06-14 12:41:42 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-06-14 12:41:42 +0000
commit3897fabc5c94f7041c95a13ad04d2e32c944c1f1 (patch)
tree300ff662f5ed8c109c53c0811fdcfe8164dc97d5 /Makefile
parent2f60f1dc09a5a10c2f198b810f8bd664d4749b57 (diff)
- start 15693 implementation
- build a real library (librfid.a) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1215 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bcf5f44..ac1ca50 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,12 @@ LDFLAGS:=-lopenct -lusb
all: openct-escape
-openct-escape: openct-escape.o rfid_layer2.o rfid_layer2_iso14443a.o rfid_layer2_iso14443b.o rfid_asic_rc632.o rfid_reader_cm5121.o rfid.o rfid_protocol.o rfid_proto_tcl.o rfid_iso14443_common.o rfid_reader.o
+openct-escape: openct-escape.o librfid.a
$(CC) $(LDFLAGS) -o $@ $^
+librfid.a: rfid_layer2.o rfid_layer2_iso14443a.o rfid_layer2_iso14443b.o rfid_layer2_iso15693.o rfid_asic_rc632.o rfid_reader_cm5121.o rfid.o rfid_protocol.o rfid_proto_tcl.o rfid_iso14443_common.o rfid_reader.o
+ ar r $@ $^
+
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^
personal git repositories of Harald Welte. Your mileage may vary