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