]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - tools/mfkey/Makefile
fix 'hf iclass sim':
[proxmark3-svn] / tools / mfkey / Makefile
... / ...
CommitLineData
1VPATH = ../../common ../../common/crapto1 ../../client ../../client/mifare
2CC = gcc
3LD = gcc
4CFLAGS += -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
5LDFLAGS +=
6
7OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
8EXES = mfkey32 mfkey64
9WINEXES = $(patsubst %, %.exe, $(EXES))
10
11all: $(OBJS) $(EXES)
12
13%.o : %.c
14 $(CC) $(CFLAGS) -c -o $@ $<
15
16% : %.c $(OBJS)
17 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
18
19clean:
20 rm -f $(OBJS) $(EXES) $(WINEXES)
Impressum, Datenschutz