mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 03:14:53 +08:00
14d6c4fc34
chg: makefile (piwi)
20 lines
313 B
Makefile
20 lines
313 B
Makefile
CC = gcc
|
|
LD = gcc
|
|
CFLAGS = -std=c99 -Wall -O3 -c
|
|
LDFLAGS =
|
|
|
|
OBJS = crypto1.o crapto1.o
|
|
HEADERS = crapto1.h
|
|
EXES = nonce2key
|
|
WINEXES = $(patsubst %, %.exe, $(EXES))
|
|
|
|
all: $(OBJS) $(EXES)
|
|
|
|
%.o : %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
% : %.c
|
|
$(LD) $(LDFLAGS) -o $@ $(OBJS) $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(EXES) $(WINEXES)
|