X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/9d1eaa281feb6ca36d04dafffc9565d9d7d2875f..966c111e8c8e45e624465502d0ee405ebda9a39c:/tools/nonce2key/Makefile diff --git a/tools/nonce2key/Makefile b/tools/nonce2key/Makefile index 43a87c3f..1119ab76 100644 --- a/tools/nonce2key/Makefile +++ b/tools/nonce2key/Makefile @@ -1,19 +1,20 @@ 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 nonce2key.exe +EXES = nonce2key +WINEXES = $(patsubst %, %.exe, $(EXES)) all: $(OBJS) $(EXES) %.o : %.c - $(CC) $(CFLAGS) -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< % : %.c $(LD) $(LDFLAGS) -o $@ $(OBJS) $< clean: - rm -f $(OBJS) $(EXES) + rm -f $(OBJS) $(EXES) $(WINEXES)