]> git.zerfleddert.de Git - proxmark3-svn/blob - tools/mfkey/Makefile
Refactor parity functions
[proxmark3-svn] / tools / mfkey / Makefile
1 VPATH = ../../common ../../common/crapto1 ../../client
2 CC = gcc
3 LD = gcc
4 CFLAGS = -I../../common -I../../client -Wall -O4
5 LDFLAGS =
6
7 OBJS = crypto1.o crapto1.o parity.o util.o mfkey.o
8 EXES = mfkey32 mfkey64
9 WINEXES = $(patsubst %, %.exe, $(EXES))
10
11 all: $(OBJS) $(EXES)
12
13 %.o : %.c
14 $(CC) $(CFLAGS) -c -o $@ $<
15
16 % : %.c $(OBJS)
17 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
18
19 clean:
20 rm -f $(OBJS) $(EXES) $(WINEXES)
Impressum, Datenschutz