]>
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 | EXES = mfkey32 mfkey64 | |
9 | WINEXES = $(patsubst %, %.exe, $(EXES)) | |
10 | ||
11 | all: $(OBJS) $(EXES) | |
12 | ||
13 | %.o : %.c | |
14 | $(CC) $(CFLAGS) -c -o $@ $< | |
15 | ||
16 | % : %.c | |
17 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $< | |
18 | ||
19 | clean: | |
20 | rm -f $(OBJS) $(EXES) $(WINEXES) |