2012-07-01 15:38:26 +08:00
|
|
|
CC = gcc
|
|
|
|
LD = gcc
|
2017-09-29 04:31:20 +08:00
|
|
|
CFLAGS += -std=c99 -march=native -Wall -Winline -O3
|
|
|
|
LDFLAGS +=
|
2012-07-01 15:38:26 +08:00
|
|
|
|
|
|
|
OBJS = crapto1.o crypto1.o
|
2016-01-18 06:06:48 +08:00
|
|
|
HEADERS = crapto1.h
|
2016-02-15 09:49:26 +08:00
|
|
|
EXES = mfkey64 mfkey32 mfkey32v2
|
2017-03-13 16:45:46 +08:00
|
|
|
WINEXE = $(patsubst %, %.exe, $(EXES))
|
2012-07-01 15:38:26 +08:00
|
|
|
|
2017-03-13 16:45:46 +08:00
|
|
|
all: $(OBJS) $(EXES)
|
2012-07-01 15:38:26 +08:00
|
|
|
|
2017-03-13 16:45:46 +08:00
|
|
|
%.o : %.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
% : %.c
|
|
|
|
$(LD) $(CFLAGS) -o $@ $(OBJS) $<
|
2012-07-01 15:38:26 +08:00
|
|
|
|
|
|
|
clean:
|
2017-03-13 16:45:46 +08:00
|
|
|
rm -f $(OBJS) $(EXES) $(WINEXE)
|
2016-02-15 09:49:26 +08:00
|
|
|
|