mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-12 04:26:41 +08:00
19 lines
264 B
Makefile
19 lines
264 B
Makefile
CC = gcc
|
|
LD = gcc
|
|
CFLAGS = -Wall -O4 -c
|
|
LDFLAGS =
|
|
|
|
OBJS = crypto1.o crapto1.o
|
|
HEADERS = crapto1.h
|
|
EXES = nonce2key nonce2key.exe
|
|
|
|
all: $(OBJS) $(EXES)
|
|
|
|
%.o : %.c
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
% : %.c
|
|
$(LD) $(LDFLAGS) -o $@ $(OBJS) $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(EXES)
|