# Wedit Makefile for project smc-milter and altermime # # run make smc-milter # #CC=cc #CC=ccmalloc gcc #CFLAGS=-Wall -g #CFLAGS=-Wall -ggdb # Optional builds # ALTERMIME_PRETEXT - Allows prefixing of the email body with a file, sort of the # opposite of a disclaimer. #ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT PRG_OPTIONS= CFLAGS=-Wall -Werror -g -I. -O2 $(PRG_OPTIONS) .c.o: ${CC} ${CFLAGS} -c $*.c all: smc-milter smc-milter: smc-milter.o utils.o virus.o ${OBJS} @rm -f smc-milter ${CC} ${CFLAGS} smc-milter.o utils.o virus.o -laltermime -lmilter -pthread -lmysqlclient -o smc-milter strip -R .note -R .comment smc-milter rm -f *.o clean: rm -f *.o smc-milter