From 3954761f11af50ed33b88f1e6609bfa8a5dab750 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 1 Jun 2009 01:26:15 +0000 Subject: Makefile updates: clean up command lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + src/mode.cpp | 3 --- src/modes/Makefile | 5 +++-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') 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 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 -- cgit v1.2.3