proxmark3/tools/mfkey/Makefile
iceman1001 77dee16f64 FIX: fixed some compiler warnings about strlen call and sscanf.
CHG: trying some optimised gcc settings in Makefile
2016-04-21 14:34:58 +02:00

19 lines
359 B
Makefile
Executable file

CC = gcc
LD = gcc
CFLAGS = -std=c99 -march=native -Wall -Winline -O3
LDFLAGS =
OBJS = crapto1.o crypto1.o
HEADERS = crapto1.h
EXES = mfkey64 mfkey32 mfkey32v2
WINEXE = mfkey64.exe mfkey32.exe mfkey32v2.exe
LIBS =
all: $(OBJS) $(EXES) $(LIBS)
% : %.c $(OBJS)
$(LD) $(CFLAGS) -o $@ $< $(OBJS) $(LDFLAGS)
clean:
rm -f $(OBJS) $(EXES) $(LIBS) $(WINEXE)