projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #477 from merlokk/wtx
[proxmark3-svn]
/
tools
/
mfkey
/
Makefile
diff --git
a/tools/mfkey/Makefile
b/tools/mfkey/Makefile
index 73ce032f8f14093d298cf7c1cc5eadf4de06a62d..9dab37f5df96eacfcfa999f80c81d448e148a831 100755
(executable)
--- a/
tools/mfkey/Makefile
+++ b/
tools/mfkey/Makefile
@@
-1,10
+1,10
@@
-VPATH = ../../common
/crapto1
+VPATH = ../../common
../../common/crapto1 ../../client
CC = gcc
LD = gcc
CC = gcc
LD = gcc
-CFLAGS
= -I../../common -Wall -O4
-LDFLAGS =
+CFLAGS
+= -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
+LDFLAGS
+
=
-OBJS = crypto1.o crapto1.o
+OBJS = crypto1.o crapto1.o
parity.o util_posix.o mfkey.o
EXES = mfkey32 mfkey64
WINEXES = $(patsubst %, %.exe, $(EXES))
EXES = mfkey32 mfkey64
WINEXES = $(patsubst %, %.exe, $(EXES))
@@
-13,7
+13,7
@@
all: $(OBJS) $(EXES)
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
-% : %.c
+% : %.c
$(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
clean:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
clean:
Impressum
,
Datenschutz