]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/Makefile
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
[user/henk/code/inspircd.git] / src / modes / Makefile
index 9b2ea75ca9759a505b193fa6c70fe8be6d63fd7b..35ec4b9157a26cb5b23c188c37314affb613ae0a 100644 (file)
@@ -1,9 +1,9 @@
-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
-       $(CC) -pipe -export-dynamic -c $(CPPFILES)
+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 $(CXXFLAGS) -export-dynamic -c $(CPPFILES)
        ar r modeclasses.a *.o
        ranlib modeclasses.a