]>
Commit | Line | Data |
---|---|---|
23e3fea5 | 1 | C=gcc |
2 | RM=rm -f | |
3 | CFLAGS=-g -O3 -march=native -funroll-all-loops -fomit-frame-pointer -mavx512f | |
4 | SRCS=main.c haraka.c aes.c | |
5 | OBJS=$(subst .c,.o,$(SRCS)) | |
6 | OUTFILE="haraka" | |
7 | ||
8 | all: haraka | |
9 | ||
10 | haraka: $(OBJS) | |
11 | $(C) -o $(OUTFILE) $(OBJS) $(LDLIBS) | |
12 | ||
13 | depend: .depend | |
14 | ||
15 | .depend: $(SRCS) | |
16 | rm -f ./.depend | |
17 | $(C) $(CFLAGS) -MM $^>>./.depend; | |
18 | ||
19 | clean: | |
20 | $(RM) $(OBJS) | |
21 | ||
22 | dist-clean: clean | |
23 | $(RM) *~ .depend | |
24 | ||
25 | include .depend |