summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-01 01:26:15 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-01 01:26:15 +0000
commit3954761f11af50ed33b88f1e6609bfa8a5dab750 (patch)
tree5a7c085fca9a32548d9aceae64fc422aef070c89 /src
parent07483d2fecaf3b3d089bb378935e48f8afb2ca73 (diff)
Makefile updates: clean up command lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp1
-rw-r--r--src/mode.cpp3
-rw-r--r--src/modes/Makefile5
3 files changed, 4 insertions, 5 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index cb019ca7c..23ef19aef 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -11,6 +11,7 @@
* ---------------------------------------------------
*/
+/* $Core */
/* $Install: src/inspircd $(BINPATH) */
#include "inspircd.h"
#include <signal.h>
diff --git a/src/mode.cpp b/src/mode.cpp
index 39f5f1da2..78993caad 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -12,9 +12,6 @@
*/
/* $Core */
-/* $ExtraDeps: $(RELCPPFILES) */
-/* $ExtraObjects: modes/modeclasses.a */
-/* $ExtraBuild: @${MAKE} -C "modes" DIRNAME="src/modes" CC="$(CC)" $(MAKEARGS) CPPFILES="$(CPPFILES)" */
#include "inspircd.h"
#include "inspstring.h"
diff --git a/src/modes/Makefile b/src/modes/Makefile
index 65a7dfe16..6ff181da8 100644
--- a/src/modes/Makefile
+++ b/src/modes/Makefile
@@ -1,7 +1,8 @@
-CC = i am cornholio
CXXFLAGS = -I../../include ${FLAGS}
-all: umode_w.o umode_o.o umode_s.o umode_i.o cmode_v.o cmode_t.o cmode_s.o cmode_p.o cmode_o.o cmode_n.o cmode_m.o cmode_l.o cmode_k.o cmode_i.o cmode_h.o cmode_b.o modeclasses.a
+all:
+ @echo "Don't run make here! Run it in the root directory"
+ false
umode_w.o: umode_w.cpp ../../include/base.h ../../include/modules.h ../../include/inspircd.h ../../include/channels.h ../../include/users.h ../../include/inspircd_config.h ../../include/mode.h
@../../make/run-cc.pl $(CC) -pipe -I../../include $(FLAGS) -export-dynamic -c umode_w.cpp