]> git.zerfleddert.de Git - proxmark3-svn/blob - tools/nonce2key/Makefile
Compress the .data section as well (saves another 4KBytes and comes for free)
[proxmark3-svn] / tools / nonce2key / Makefile
1 CC = gcc
2 LD = gcc
3 CFLAGS = -Wall -O4 -c
4 LDFLAGS =
5
6 OBJS = crypto1.o crapto1.o
7 HEADERS = crapto1.h
8 EXES = nonce2key
9
10 all: $(OBJS) $(EXES)
11
12 %.o : %.c
13 $(CC) $(CFLAGS) -o $@ $<
14
15 % : %.c
16 $(LD) $(LDFLAGS) -o $@ $(OBJS) $<
17
18 crypto1test: libnfc $(OBJS)
19 $(LD) $(LDFLAGS) -o crypto1test crypto1test.c $(OBJS)
20
21 clean:
22 rm -f $(OBJS) $(EXES)
Impressum, Datenschutz