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