proxmark3/tools/nonce2key/Makefile

21 lines
313 B
Makefile
Raw Normal View History

2009-12-30 08:12:17 +08:00
CC = gcc
LD = gcc
CFLAGS = -std=c99 -Wall -O3 -c
2009-12-30 08:12:17 +08:00
LDFLAGS =
OBJS = crypto1.o crapto1.o
HEADERS = crapto1.h
EXES = nonce2key
WINEXES = $(patsubst %, %.exe, $(EXES))
2009-12-30 08:12:17 +08:00
all: $(OBJS) $(EXES)
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
2009-12-30 08:12:17 +08:00
% : %.c
$(LD) $(LDFLAGS) -o $@ $(OBJS) $<
clean:
rm -f $(OBJS) $(EXES) $(WINEXES)