summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 19:38:01 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 19:38:01 +0000
commitfb947d5615d96922efac7ecda941caab77dceb0f (patch)
treeb590b55ad41b07853e2826aa9cc75c0102ebf1ec /src/Makefile
parente0f00618c3c7440de7ed091a93e016175dc8c3b5 (diff)
Fixed bugs in ./configure
Created new Makefile Generator Removed some redundant makefiles. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@365 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 000000000..981b075f7
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,22 @@
+# Insp Makefile :p
+#
+# (C) ChatSpike development team
+# Makefile by <Craig@ChatSpike.net>
+# Small modifications by <brain@ChatSpike.net>
+#
+
+CC = im a cheezeball
+
+SRC_1 = inspircd.cpp inspircd_util.cpp inspircd_io.cpp connection.cpp
+SRC_2 = dynamic.cpp users.cpp modules.cpp wildcard.cpp servers.cpp channels.cpp
+
+SRC = $(SRC_1) $(SRC_2)
+OBJS = $(SRC:.cpp=.o)
+
+CXXFLAGS = -I$../../include ${FLAGS}
+
+all: inspircd
+
+inspircd: $(OBJS)
+ $(CXX) -rdynamic $^ -o $@ $(LDLIBS)
+