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