]>
Commit | Line | Data |
---|---|---|
7847961b | 1 | CC = gcc |
2 | LD = gcc | |
77dee16f | 3 | CFLAGS = -std=c99 -march=native -Wall -Winline -O3 |
9e130475 | 4 | LDFLAGS = |
7847961b | 5 | |
6 | OBJS = crapto1.o crypto1.o | |
93b0bbd2 | 7 | HEADERS = crapto1.h |
4211fdce | 8 | EXES = mfkey64 mfkey32 mfkey32v2 |
14d6c4fc | 9 | WINEXE = $(patsubst %, %.exe, $(EXES)) |
7847961b | 10 | |
14d6c4fc | 11 | all: $(OBJS) $(EXES) |
7847961b | 12 | |
14d6c4fc | 13 | %.o : %.c |
14 | $(CC) $(CFLAGS) -c -o $@ $< | |
15 | ||
16 | % : %.c | |
17 | $(LD) $(CFLAGS) -o $@ $(OBJS) $< | |
7847961b | 18 | |
19 | clean: | |
14d6c4fc | 20 | rm -f $(OBJS) $(EXES) $(WINEXE) |
4211fdce | 21 |