summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 08:34:15 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 08:34:15 +0000
commit05c7e304271bcf88901da3782fcd3f28a0c7c9cf (patch)
treec7972af3be2f8a6619af551faa980cd699399b1e /Makefile
parentea11c6e508eb88d18847f4027bbc0a5ced0200b3 (diff)
use autoconf/automake
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1658 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 691c24c..0000000
--- a/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-
-CFLAGS:=-Wall -g -I/usr/local/include -Iinclude
-LDFLAGS:= -lusb
-
-LIBRFID_OBJS=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_proto_mifare_ul.o rfid_proto_mifare_classic.o rfid_iso14443_common.o rfid_reader.o
-
-# uncomment this if you want to use OpenCT
-LDFLAGS+=-lopenct
-LIBRFID_OBJS+=rfid_reader_cm5121_openct.o
-
-# uncomment this if you want to use our internal CCID driver
-#LIBRFID_OBJS+=rfid_reader_cm5121_ccid_direct.o ccid/ccid-driver.o
-
-all: openct-escape
-
-openct-escape: openct-escape.o librfid.a
- $(CC) $(LDFLAGS) -o $@ $^
-
-librfid.a: $(LIBRFID_OBJS)
- ar r $@ $^
-
-%.o: %.c
- $(CC) $(CFLAGS) -DHAVE_LIBUSB -DUSE_INTERNAL_CCID_DRIVER -o $@ -c $^
-
-clean:
- rm -f *.o openct-escape librfid.a
personal git repositories of Harald Welte. Your mileage may vary