]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - tools/nonce2key/Makefile
Better Linux compilation compability
[proxmark3-svn] / tools / nonce2key / Makefile
... / ...
CommitLineData
1CC = gcc
2LD = gcc
3CFLAGS = -Wall -O4 -c
4LDFLAGS =
5
6OBJS = crypto1.o crapto1.o
7HEADERS = crapto1.h
8EXES = nonce2key
9
10all: $(OBJS) $(EXES)
11
12%.o : %.c
13 $(CC) $(CFLAGS) -o $@ $<
14
15% : %.c
16 $(LD) $(LDFLAGS) -o $@ $(OBJS) $<
17
18crypto1test: libnfc $(OBJS)
19 $(LD) $(LDFLAGS) -o crypto1test crypto1test.c $(OBJS)
20
21clean:
22 rm -f $(OBJS) $(EXES)
Impressum, Datenschutz