proxmark3/tools/mfkey/Makefile

22 lines
351 B
Makefile
Raw Normal View History

2012-07-01 15:38:26 +08:00
CC = gcc
LD = gcc
CFLAGS += -std=c99 -march=native -Wall -Winline -O3
LDFLAGS +=
2012-07-01 15:38:26 +08:00
OBJS = crapto1.o crypto1.o
HEADERS = crapto1.h
EXES = mfkey64 mfkey32 mfkey32v2
WINEXE = $(patsubst %, %.exe, $(EXES))
2012-07-01 15:38:26 +08:00
all: $(OBJS) $(EXES)
2012-07-01 15:38:26 +08:00
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
% : %.c
$(LD) $(CFLAGS) -o $@ $(OBJS) $<
2012-07-01 15:38:26 +08:00
clean:
rm -f $(OBJS) $(EXES) $(WINEXE)