]> git.zerfleddert.de Git - proxmark3-svn/blob - tools/mfkey/Makefile
5d6de924f33f587b4aa3a513c253aef4257267de
[proxmark3-svn] / tools / mfkey / Makefile
1 VPATH = ../../common ../../common/crapto1 ../../client ../../client/mifare
2 CC = gcc
3 LD = gcc
4 CFLAGS += -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
5 LDFLAGS +=
6
7 OBJS = crypto1.o crapto1.o parity.o util_posix.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