From 512125c522c5bdba47cc66aebf1bbe2c2cdf234f Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Fri, 4 Mar 2005 17:26:49 +0000 Subject: BUILD : 1.7.8 (596) BUGS : N/A NOTES : Added clean_modules and distclean_modules as valid make targets git-svn-id: svn://svn.anope.org/anope/trunk@596 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@445 5417fbe8-f217-4b02-8779-1006273d7864 --- src/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index f1c6a4169..b4b1269ec 100644 --- a/src/Makefile +++ b/src/Makefile @@ -38,6 +38,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \ all: services distclean: clean spotless +distclean_modules: clean_modules spotless services: $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) @@ -87,10 +88,12 @@ rdb.o: rdb.c $(INCLUDES) modules: DUMMY (cd modules ; ./configure ; ${MAKE} ${MAKEARGS} all) -clean: +clean: clean_modules + rm -f *.o services a.out +clean_modules: @touch modules/Makefile.inc # Horribly ugly... (cd modules ; ${MAKE} ${MAKEARGS} clean) - rm -f *.o services a.out + spotless: clean (cd modules ; ${MAKE} ${MAKEARGS} distclean) -- cgit