summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-07 02:58:07 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-07 02:58:07 +0000
commit6b13769673aa78bd4921ec95cab3336cb4ee876f (patch)
tree8ac67184178618c62874fe254ef3cc4b835827bf /.Makefile.inc
parent885d37630ef4b5b69c26c6eb3fc97e9cd2e35eae (diff)
Makefile updates: clean up some installation assumptions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11405 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc24
1 files changed, 9 insertions, 15 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 9a4f1d3a3..76c9b01f9 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -14,13 +14,8 @@
HEADER = debug-header
@ENDIF
-@IFNDEF NICEFLAGS
- NICEFLAGS = @FLAGS@
-@ENDIF
-
-@IFNDEF HEADER
- HEADER = std-header
-@ENDIF
+NICEFLAGS ?= @FLAGS@
+HEADER ?= std-header
NICEFLAGS += -I$(COMPILE_ROOT)/include
@@ -121,17 +116,16 @@ module:
clean:
@echo Cleaning...
- @rm -rf src/*.so src/*.dylib src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a src/commands/*.so src/commands/*.o src/modules/*/*.o src/modules/*/*.so src/socketengines/*.o
+ @rm -f src/inspircd src/modes/modeclasses.a
+ @rm -f src/*.so src/modules/*.so src/commands/*.so src/modules/*/*.so
+ @rm -f src/*.o src/*/*.o src/modules/*/*.o
@echo Completed.
modclean:
- rm -rf modules/*.so
- rm -rf src/modules/*.so
- rm -rf src/modules/*.o
- rm -rf src/modules/*/*.so
- rm -rf src/modules/*/*.o
- rm -rf lib/*.so
- rm -f bin/inspircd
+ rm -f src/modules/*.so
+ rm -f src/modules/*.o
+ rm -f src/modules/*/*.so
+ rm -f src/modules/*/*.o
deinstall:
@UNINSTALL_LIST@