]> git.zerfleddert.de Git - proxmark3-svn/blob - tools/mfkey/Makefile
more coverity fixes
[proxmark3-svn] / tools / mfkey / Makefile
1 VPATH = ../../common ../../common/crapto1 ../../client
2 CC = gcc
3 LD = gcc
4 CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3
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