From fb947d5615d96922efac7ecda941caab77dceb0f Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sat, 3 Apr 2004 19:38:01 +0000 Subject: 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 --- src/modules/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/modules/Makefile (limited to 'src/modules/Makefile') diff --git a/src/modules/Makefile b/src/modules/Makefile new file mode 100644 index 000000000..75f6f6ab2 --- /dev/null +++ b/src/modules/Makefile @@ -0,0 +1,22 @@ +# (C) ChatSpike development team +# Makefile by +# Small modifications by +# + +CXXFLAGS = -I../../include ${FLAGS} + +MODS = `/bin/ls *.cpp | sed 's/.cpp//'` +MODULES = $(MODS) + +MODS2 = `/bin/ls *.cpp` +MODULES2 = $(MODS2:.cpp=.so) + +main: + rm -f .make ; \ + for i in $(MODULES) ; do \ + echo "$(CXX) $(CXXFLAGS) -shared -o $$i `echo $$i | sed 's/.so/.cpp/'`">>.make ; \ + done ; chmod u+x .make ; ./.make + + +all: main + -- cgit v1.2.3