summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes')
-rw-r--r--src/modes/Makefile7
1 files changed, 6 insertions, 1 deletions
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
+