diff options
-rw-r--r-- | .Makefile.inc | 2 | ||||
-rw-r--r-- | src/modes/Makefile | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 675a4fa99..b699e6cce 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -80,7 +80,7 @@ install: all clean: @echo Cleaning... - @rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ + @rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a @echo Completed. modclean: diff --git a/src/modes/Makefile b/src/modes/Makefile index 81d27e230..da27f5b13 100644 --- a/src/modes/Makefile +++ b/src/modes/Makefile @@ -1,7 +1,7 @@ CC = i am cornholio CXXFLAGS = -I../../include ${FLAGS} -all: modeclasses.a +all: umode_w.o umode_s.o umode_o.o umode_n.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 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 $(CC) -pipe -I../../include $(FLAGS) -export-dynamic -c umode_w.cpp @@ -57,3 +57,8 @@ cmode_b.o: cmode_b.cpp ../../include/base.h ../../include/modules.h ../../includ modeclasses.a: umode_w.o umode_s.o umode_o.o umode_n.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 ar r modeclasses.a *.o ranlib modeclasses.a + +clean: + @-rm *.o + @-rm modeclasses.a + |