## ## Mailpath 1.0. ## ## See README. ## ## $Id: Makefile,v 1.3 2002/05/02 16:57:25 dgc Exp $ ## CFLAGS = -g #-DDEBUG #example# CFLAGS += -DMP_MAIL_SPOOL='"/var/spool/mail/"' #example# CFLAGS += -DMP_DEFAULT_FMT='MAILSPOOL ## "%u"' LDFLAGS = -g all: mailpath mailpath: main.o libmailpath.a $(CC) $(LDFLAGS) -o mailpath main.c -L. -lmailpath libmailpath.a: mailpath.o ar r libmailpath.a mailpath.o clean: rm -f libmailpath.a mailpath *.o core ## $Log: Makefile,v $ ## Revision 1.3 2002/05/02 16:57:25 dgc ## - Added a syslog() call if compiled with -DDEBUG ## - Changed main.c to use macros from mailpath.h ## ## Revision 1.2 2002/04/23 22:44:22 dgc ## Added version IDs and such for a 1.0 "release" (ahem). ##