]> git.zerfleddert.de Git - proxmark3-svn/blame - tools/mfkey/Makefile
Merge pull request #251 from marshmellow42/master
[proxmark3-svn] / tools / mfkey / Makefile
CommitLineData
1f065e1d 1VPATH = ../../common ../../common/crapto1 ../../client
7847961b 2CC = gcc
3LD = gcc
dc2349ae 4CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3
9e130475 5LDFLAGS =
7847961b 6
1f065e1d 7OBJS = crypto1.o crapto1.o parity.o util.o mfkey.o
0ca9bc0e 8EXES = mfkey32 mfkey64
9WINEXES = $(patsubst %, %.exe, $(EXES))
7847961b 10
0ca9bc0e 11all: $(OBJS) $(EXES)
12
13%.o : %.c
14 $(CC) $(CFLAGS) -c -o $@ $<
15
4cb4b588 16% : %.c $(OBJS)
0ca9bc0e 17 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
7847961b 18
19clean:
0ca9bc0e 20 rm -f $(OBJS) $(EXES) $(WINEXES)
Impressum, Datenschutz