diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-22 08:38:32 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-22 08:38:32 +0000 |
commit | 644eba4d9e2d7081ccb81cd50de6546c08f21686 (patch) | |
tree | 7e531de082fd037bd8ef159f0e6ccc8210b92056 /src | |
parent | be5eab2cd0dc2640391af83d140dc00969d3e450 (diff) |
# BUILD : 1.7.13 (1015) # BUGS : # NOTES : Fixed distclean.
git-svn-id: svn://svn.anope.org/anope/trunk@1015 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@740 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 16 | ||||
-rw-r--r-- | src/core/Makefile | 8 | ||||
-rw-r--r-- | src/core/Makefile.sub | 4 | ||||
-rw-r--r-- | src/modules/Makefile | 6 | ||||
-rw-r--r-- | src/modules/Makefile.sub | 6 | ||||
-rw-r--r-- | src/protocol/Makefile | 6 | ||||
-rw-r--r-- | src/protocol/Makefile.sub | 4 | ||||
-rw-r--r-- | src/tools/Makefile | 2 |
8 files changed, 26 insertions, 26 deletions
diff --git a/src/Makefile b/src/Makefile index 9e55769b5..e9b2e1469 100644 --- a/src/Makefile +++ b/src/Makefile @@ -29,7 +29,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \ all: services -distclean: clean spotless +distclean: spotless distclean_modules: clean_modules spotless services: $(OBJS) @@ -88,20 +88,20 @@ clean: clean_modules clean_protocols clean_core rm -f *.o services a.out clean_modules: @touch modules/Makefile.inc # Horribly ugly... - (cd modules ; ${MAKE} ${MAKEARGS} clean) + (cd modules ; ${MAKE} clean) clean_protocols: @touch protocol/Makefile.inc - (cd protocol ; ${MAKE} ${MAKEARGS} clean) + (cd protocol ; ${MAKE} clean) clean_core: @touch core/Makefile.inc - (cd core ; ${MAKE} ${MAKEARGS} clean) + (cd core ; ${MAKE} clean) -spotless: clean - (cd modules ; ${MAKE} ${MAKEARGS} distclean) - (cd protocol ; ${MAKE} ${MAKEARGS} distclean) - (cd core ; ${MAKE} ${MAKEARGS} distclean) +spotless: + (cd modules ; ${MAKE} distclean) + (cd protocol ; ${MAKE} distclean) + (cd core ; ${MAKE} distclean) install: services test -d ${BINDEST} || mkdir ${BINDEST} diff --git a/src/core/Makefile b/src/core/Makefile index 254e8d0d3..ca762fbff 100644 --- a/src/core/Makefile +++ b/src/core/Makefile @@ -18,7 +18,7 @@ modules: $(OBJECTS) $(SO_FILES) install: $(CP) ./*.so $(MODULE_PATH) -distclean: clean spotless +distclean: spotless .c.o: $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $< @@ -34,11 +34,11 @@ subs: subs_clean: @for i in $(SUBS); do \ echo "cleaning in $$i..."; \ - (cd $$i; $(MAKE) $(MAKEARGS) clean); done + (cd $$i; $(MAKE) clean); done clean: subs_clean rm -f *.o *.so *.c~ core -spotless: clean - rm -f *.so Makefile.inc +spotless: subs_clean + rm -f *.o *.so *.c~ core Makefile.inc diff --git a/src/core/Makefile.sub b/src/core/Makefile.sub index 21dfab3d7..9fbadf3b0 100644 --- a/src/core/Makefile.sub +++ b/src/core/Makefile.sub @@ -13,7 +13,7 @@ all: module module: $(OBJECTS) so -distclean: clean spotless +distclean: spotless .c.o: $(CC) $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $< @@ -25,5 +25,5 @@ clean: rm -f *.o *.so *.c~ core spotless: clean - rm -f *~ + rm -f *~ *.o *.so *.c~ core diff --git a/src/modules/Makefile b/src/modules/Makefile index 254e8d0d3..4a261d96f 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -18,7 +18,7 @@ modules: $(OBJECTS) $(SO_FILES) install: $(CP) ./*.so $(MODULE_PATH) -distclean: clean spotless +distclean: spotless .c.o: $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $< @@ -39,6 +39,6 @@ subs_clean: clean: subs_clean rm -f *.o *.so *.c~ core -spotless: clean - rm -f *.so Makefile.inc +spotless: + rm -f *.o *.so *.c~ core *.so Makefile.inc diff --git a/src/modules/Makefile.sub b/src/modules/Makefile.sub index 300b13116..5e53fa5dd 100644 --- a/src/modules/Makefile.sub +++ b/src/modules/Makefile.sub @@ -13,7 +13,7 @@ all: module module: $(OBJECTS) so -distclean: clean spotless +distclean: spotless .c.o: $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $< @@ -24,6 +24,6 @@ so: clean: rm -f *.o *.so *.c~ core -spotless: clean - rm -f *~ +spotless: + rm -f *~ *.o *.so *.c~ core diff --git a/src/protocol/Makefile b/src/protocol/Makefile index 254e8d0d3..a30aee45d 100644 --- a/src/protocol/Makefile +++ b/src/protocol/Makefile @@ -34,11 +34,11 @@ subs: subs_clean: @for i in $(SUBS); do \ echo "cleaning in $$i..."; \ - (cd $$i; $(MAKE) $(MAKEARGS) clean); done + (cd $$i; $(MAKE) clean); done clean: subs_clean rm -f *.o *.so *.c~ core -spotless: clean - rm -f *.so Makefile.inc +spotless: subs_clean + rm -f *.o *.so *.c~ core *.so Makefile.inc diff --git a/src/protocol/Makefile.sub b/src/protocol/Makefile.sub index 300b13116..a2d6a414a 100644 --- a/src/protocol/Makefile.sub +++ b/src/protocol/Makefile.sub @@ -13,7 +13,7 @@ all: module module: $(OBJECTS) so -distclean: clean spotless +distclean: spotless .c.o: $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $< @@ -25,5 +25,5 @@ clean: rm -f *.o *.so *.c~ core spotless: clean - rm -f *~ + rm -f *~ *.o *.so *.c~ core diff --git a/src/tools/Makefile b/src/tools/Makefile index d28b68981..f64c6fa65 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -14,7 +14,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \ all: ${OBJS} -distclean: clean spotless +distclean: spotless anopesmpt: $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) |