X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3989d6fff6a686f2e7b3fa2242592ecf897d7ee4..14d6c4fc3463771fca026f23904eba2858c2d422:/tools/nonce2key/Makefile diff --git a/tools/nonce2key/Makefile b/tools/nonce2key/Makefile index a46169f4..1119ab76 100644 --- a/tools/nonce2key/Makefile +++ b/tools/nonce2key/Makefile @@ -1,17 +1,17 @@ CC = gcc LD = gcc -CFLAGS = -Wall -O4 -c +CFLAGS = -std=c99 -Wall -O3 -c LDFLAGS = OBJS = crypto1.o crapto1.o HEADERS = crapto1.h EXES = nonce2key -WINEXES = nonce2key.exe +WINEXES = $(patsubst %, %.exe, $(EXES)) all: $(OBJS) $(EXES) %.o : %.c - $(CC) $(CFLAGS) -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< % : %.c $(LD) $(LDFLAGS) -o $@ $(OBJS) $<