1 |
douglas |
810 |
# Mail |
2 |
|
|
# |
3 |
|
|
# Douglas Thrift |
4 |
|
|
# |
5 |
|
|
# $Id$ |
6 |
|
|
|
7 |
douglas |
816 |
CFLAGS := -std=c99 -Wall -pedantic -g #-O2 |
8 |
douglas |
815 |
ifeq ($(shell uname -n),reptile.douglasthrift.net) |
9 |
|
|
CC := gcc34 |
10 |
|
|
else |
11 |
|
|
CPPFLAGS := -I/usr/local/include |
12 |
|
|
endif |
13 |
|
|
LDFLAGS := -L/usr/local/lib |
14 |
|
|
LDLIBS := -lc-client4 |
15 |
|
|
|
16 |
douglas |
816 |
.PHONY: all install clean |
17 |
douglas |
810 |
|
18 |
douglas |
815 |
all: SpamUpdate |
19 |
douglas |
812 |
|
20 |
douglas |
813 |
install: all |
21 |
douglas |
810 |
./SetupMail |
22 |
douglas |
816 |
|
23 |
|
|
clean: |
24 |
|
|
-rm -f SpamUpdate |