summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 20:59:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 20:59:45 +0000
commit4f5ccf774b4d253e174ed3046ce5ccb0b42ded89 (patch)
tree2c9b3ff389cedf465f2e9a70e1b06d0508e91f6d
parent8516a70dae0c128e77a77de1584289e21abdb42c (diff)
Fixed 'make clean'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1335 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--.Makefile.inc3
-rw-r--r--src/Makefile38
2 files changed, 21 insertions, 20 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 193b071c2..4485ef78f 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -36,7 +36,8 @@ config:
@cp conf/inspire.rules $(CONPATH)/inspire.rules.example
@cp docs/*.example $(CONPATH)
clean:
- rm -rf src/*.o
+ rm -rf src/*.so
+ rm -rf src/inspircd
rm -rf src/modules/*.so
modclean:
diff --git a/src/Makefile b/src/Makefile
index afc3b91ff..aa8012dd5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,59 +9,59 @@ CC = im a cheezeball
CXXFLAGS = -I$../include ${FLAGS}
-all: inspircd
+all: inspircd libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDutil.so libIRCDio.so libIRCDconnection.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDservers.so
-inspircd: inspircd.cpp libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDutil.so libIRCDio.so libIRCDconnection.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDservers.so
+inspircd: inspircd.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/channels.h ../include/globals.h ../include/inspircd_config.h
$(CXX) -I../include $(FLAGS) -rdynamic -L. inspircd.cpp -o inspircd $(LDLIBS) libIRCDchannels.so libIRCDmode.so libIRCDxline.so libIRCDstring.so libIRCDasyncdns.so libIRCDbase.so libIRCDutil.so libIRCDio.so libIRCDconnection.so libIRCDmessage.so libIRCDcommands.so libIRCDdnsqueue.so libIRCDdynamic.so libIRCDusers.so libIRCDmodules.so libIRCDwildcard.so libIRCDservers.so
-libIRCDchannels.so: channels.cpp ../include/base.h ../include/channels.h ../include/inspircd.h
+libIRCDchannels.so: channels.cpp ../include/base.h ../include/channels.h ../include/inspircd.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDchannels.so channels.cpp
-libIRCDmode.so: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h
+libIRCDmode.so: mode.cpp ../include/base.h ../include/mode.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDmode.so mode.cpp
-libIRCDxline.so: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h
+libIRCDxline.so: xline.cpp ../include/base.h ../include/xline.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDxline.so xline.cpp
-libIRCDstring.so: inspstring.cpp ../include/base.h ../include/inspstring.h ../include/inspircd.h
+libIRCDstring.so: inspstring.cpp ../include/base.h ../include/inspstring.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDstring.so inspstring.cpp
-libIRCDasyncdns.so: dns.cpp ../include/base.h ../include/dns.h ../include/inspircd.h
+libIRCDasyncdns.so: dns.cpp ../include/base.h ../include/dns.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDasyncdns.so dns.cpp
-libIRCDbase.so: base.cpp ../include/base.h
+libIRCDbase.so: base.cpp ../include/base.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDbase.so base.cpp
-libIRCDutil.so: inspircd_util.cpp ../include/base.h ../include/inspircd_util.h ../include/inspircd.h
+libIRCDutil.so: inspircd_util.cpp ../include/base.h ../include/inspircd_util.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDutil.so inspircd_util.cpp
-libIRCDio.so: inspircd_io.cpp ../include/base.h ../include/inspircd_io.h ../include/inspircd.h
+libIRCDio.so: inspircd_io.cpp ../include/base.h ../include/inspircd_io.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDio.so inspircd_io.cpp
-libIRCDconnection.so: connection.cpp ../include/base.h ../include/connection.h ../include/inspircd.h
+libIRCDconnection.so: connection.cpp ../include/base.h ../include/connection.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDconnection.so connection.cpp
-libIRCDmessage.so: message.cpp ../include/base.h ../include/message.h ../include/inspircd.h
+libIRCDmessage.so: message.cpp ../include/base.h ../include/message.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDmessage.so message.cpp
-libIRCDcommands.so: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h
+libIRCDcommands.so: commands.cpp ../include/base.h ../include/commands.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDcommands.so commands.cpp
-libIRCDdnsqueue.so: dnsqueue.cpp ../include/base.h ../include/dnsqueue.h ../include/inspircd.h
+libIRCDdnsqueue.so: dnsqueue.cpp ../include/base.h ../include/dnsqueue.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDdnsqueue.so dnsqueue.cpp
-libIRCDdynamic.so: dynamic.cpp ../include/base.h ../include/dynamic.h ../include/inspircd.h
+libIRCDdynamic.so: dynamic.cpp ../include/base.h ../include/dynamic.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDdynamic.so dynamic.cpp
-libIRCDusers.so: users.cpp ../include/base.h ../include/users.h ../include/inspircd.h
+libIRCDusers.so: users.cpp ../include/base.h ../include/users.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDusers.so users.cpp
-libIRCDmodules.so: modules.cpp ../include/base.h ../include/modules.h ../include/inspircd.h
+libIRCDmodules.so: modules.cpp ../include/base.h ../include/modules.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDmodules.so modules.cpp
-libIRCDwildcard.so: wildcard.cpp ../include/base.h ../include/wildcard.h ../include/inspircd.h
+libIRCDwildcard.so: wildcard.cpp ../include/base.h ../include/wildcard.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDwildcard.so wildcard.cpp
-libIRCDservers.so: servers.cpp ../include/base.h ../include/servers.h ../include/inspircd.h
+libIRCDservers.so: servers.cpp ../include/base.h ../include/servers.h ../include/inspircd.h ../include/channels.h ../include/users.h ../include/globals.h ../include/inspircd_config.h
$(CC) -I../include $(FLAGS) -shared -o libIRCDservers.so servers.cpp