mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
77dee16f64
CHG: trying some optimised gcc settings in Makefile
19 lines
359 B
Makefile
Executable file
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)
|
|
|