mirror of
https://github.com/anope/anope.git
synced 2026-07-06 18:03:13 +02:00
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
This commit is contained in:
parent
a22d9ec3b0
commit
512125c522
+5
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user