diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 19:45:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-01-23 19:45:57 +0000 |
commit | 73b9d0c5cb02f0ea8350de28bc3687e0af70ea0f (patch) | |
tree | a5845579b1363762650f0e45c62a13890e1efa43 /Makefile.Linux |
Initial revision
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@132 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'Makefile.Linux')
-rw-r--r-- | Makefile.Linux | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile.Linux b/Makefile.Linux new file mode 100644 index 000000000..04484d56a --- /dev/null +++ b/Makefile.Linux @@ -0,0 +1,32 @@ +# Insp Main Makefile +# +# +# +# + +CC = g++ +PROGS = inspircd +FLAGS = -fPIC -frtti -O3 +LDLIBS = -ldl +MODPATH = modules/ +MODULES = m_cloaking.so m_foobar.so m_randquote.so +MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' + +all : ircd mods + +mods: + make -C src/modules DIRNAME="src/modules" $(MAKEARGS) + mv src/modules/*.so $(MODPATH) + +ircd: + make -C src DIRNAME="src" $(MAKEARGS) + cp src/inspircd bin/inspircd + +clean: + rm -rf src/*.o + rm -rf src/modules/*.o + +modclean: + rm -rf modules/*.so + +squeakyclean: modclean clean |