]>
Commit | Line | Data |
---|---|---|
1 | CC = gcc | |
2 | LD = gcc | |
3 | CFLAGS = -std=c99 -Wall -O3 -c | |
4 | LDFLAGS = | |
5 | ||
6 | OBJS = crypto1.o crapto1.o | |
7 | HEADERS = crapto1.h | |
8 | EXES = nonce2key | |
9 | WINEXES = nonce2key.exe | |
10 | ||
11 | all: $(OBJS) $(EXES) | |
12 | ||
13 | %.o : %.c | |
14 | $(CC) $(CFLAGS) -o $@ $< | |
15 | ||
16 | % : %.c | |
17 | $(LD) $(LDFLAGS) -o $@ $(OBJS) $< | |
18 | ||
19 | clean: | |
20 | rm -f $(OBJS) $(EXES) $(WINEXES) |