summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-13 10:58:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-13 10:58:03 +0000
commitec3afa5c04994a867da4875616bde3482489a35f (patch)
tree978842cbce586476606c8de3bae05203f2a2a80f /src
parent9053fc9b92132072334cea2bec4d75d4c9f62c7f (diff)
Better handling of dependencies, doesnt always rebuild mode handler files now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3878 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modes/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/Makefile b/src/modes/Makefile
index 9b2ea75ca..10afd15d8 100644
--- a/src/modes/Makefile
+++ b/src/modes/Makefile
@@ -1,8 +1,8 @@
-CPPFILES = `/bin/ls -l | grep '\.cpp' | sed 's/^.* //' | grep -v svn`
+#CPPFILES = $(shell /bin/ls -l | grep '\.cpp' | sed 's/^.* //' | grep -v svn)
CC = i am cornholio
CXXFLAGS = -I../../include ${FLAGS}
-all: ../../include/base.h ../../include/modules.h ../../include/inspircd.h ../../include/channels.h ../../include/users.h ../../include/globals.h ../../include/inspircd_config.h ../../include/mode.h
+all: ../../include/base.h ../../include/modules.h ../../include/inspircd.h ../../include/channels.h ../../include/users.h ../../include/globals.h ../../include/inspircd_config.h ../../include/mode.h $(CPPFILES)
$(CC) -pipe -export-dynamic -c $(CPPFILES)
ar r modeclasses.a *.o
ranlib modeclasses.a