]>
Commit | Line | Data |
---|---|---|
1f065e1d | 1 | VPATH = ../../common ../../common/crapto1 ../../client |
7847961b | 2 | CC = gcc |
3 | LD = gcc | |
4cb4b588 | 4 | CFLAGS = -I../../common -I../../client -Wall -O4 |
9e130475 | 5 | LDFLAGS = |
7847961b | 6 | |
1f065e1d | 7 | OBJS = crypto1.o crapto1.o parity.o util.o mfkey.o |
0ca9bc0e | 8 | EXES = mfkey32 mfkey64 |
9 | WINEXES = $(patsubst %, %.exe, $(EXES)) | |
7847961b | 10 | |
0ca9bc0e | 11 | all: $(OBJS) $(EXES) |
12 | ||
13 | %.o : %.c | |
14 | $(CC) $(CFLAGS) -c -o $@ $< | |
15 | ||
4cb4b588 | 16 | % : %.c $(OBJS) |
0ca9bc0e | 17 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $< |
7847961b | 18 | |
19 | clean: | |
0ca9bc0e | 20 | rm -f $(OBJS) $(EXES) $(WINEXES) |