mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-12-04 11:10:25 -08:00
fdd9395d1a
* move mifare stuff to separate folder * add mad and ndef
21 lines
484 B
Makefile
Executable File
21 lines
484 B
Makefile
Executable File
VPATH = ../../common ../../common/crapto1 ../../client ../../client/mifare
|
|
CC = gcc
|
|
LD = gcc
|
|
CFLAGS += -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3
|
|
LDFLAGS +=
|
|
|
|
OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o
|
|
EXES = mfkey32 mfkey64
|
|
WINEXES = $(patsubst %, %.exe, $(EXES))
|
|
|
|
all: $(OBJS) $(EXES)
|
|
|
|
%.o : %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
% : %.c $(OBJS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(EXES) $(WINEXES)
|