X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7504dc50d539f1f9b0b99064f5c7d38e373890fa..966c111e8c8e45e624465502d0ee405ebda9a39c:/tools/nonce2key/Makefile?ds=sidebyside diff --git a/tools/nonce2key/Makefile b/tools/nonce2key/Makefile index b84c9bbb..1119ab76 100644 --- a/tools/nonce2key/Makefile +++ b/tools/nonce2key/Makefile @@ -1,17 +1,17 @@ CC = gcc LD = gcc -CFLAGS = -Wall -O3 -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) $<