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