]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/nonce2key/Makefile
mifare tools update
[proxmark3-svn] / tools / nonce2key / Makefile
diff --git a/tools/nonce2key/Makefile b/tools/nonce2key/Makefile
new file mode 100644 (file)
index 0000000..54abf80
--- /dev/null
@@ -0,0 +1,22 @@
+CC = gcc
+LD = gcc
+CFLAGS = -Wall -O4 -c
+LDFLAGS =
+
+OBJS = crypto1.o crapto1.o
+HEADERS = crapto1.h
+EXES = nonce2key
+
+all: $(OBJS) $(EXES)
+
+%.o : %.c
+       $(CC) $(CFLAGS) -o $@ $<
+
+% : %.c
+       $(LD) $(LDFLAGS) -o $@ $(OBJS) $<
+
+crypto1test: libnfc $(OBJS)
+       $(LD) $(LDFLAGS) -o crypto1test crypto1test.c $(OBJS)
+clean: 
+       rm -f $(OBJS) $(EXES)
Impressum, Datenschutz