mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-15 22:29:52 +08:00
21 lines
351 B
Makefile
Executable file
21 lines
351 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 = $(patsubst %, %.exe, $(EXES))
|
|
|
|
all: $(OBJS) $(EXES)
|
|
|
|
%.o : %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
% : %.c
|
|
$(LD) $(CFLAGS) -o $@ $(OBJS) $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(EXES) $(WINEXE)
|
|
|