From 9200b97f8534d431f9a544109d06d3c8c5b769b4 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Jan 2003 20:13:53 +0000 Subject: Auto created by ./configure tests Added makefies git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@139 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/Makefile.FreeBSD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/modules/Makefile.FreeBSD (limited to 'src/modules/Makefile.FreeBSD') diff --git a/src/modules/Makefile.FreeBSD b/src/modules/Makefile.FreeBSD new file mode 100644 index 000000000..af59f2b72 --- /dev/null +++ b/src/modules/Makefile.FreeBSD @@ -0,0 +1,17 @@ +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