mifare tools update

This commit is contained in:
roel@libnfc.org
2009-12-30 00:12:17 +00:00
parent 32cfae439e
commit 93f5759045
5 changed files with 760 additions and 0 deletions

22
tools/nonce2key/Makefile Normal file
View File

@@ -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)