summaryrefslogtreecommitdiff
path: root/src/mods/Makefile.mods.in
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-01-27 23:25:11 +0000
committerPaul Buetow <paul@buetow.org>2009-01-27 23:25:11 +0000
commit19f9940dc968afae01b54377ee23ec59069c9646 (patch)
treef3aeb664f44aec07de640bce0326ec1b5e478c51 /src/mods/Makefile.mods.in
parent1c8047e99b6a7199e447bb5a70438837cc5f7890 (diff)
Diffstat (limited to 'src/mods/Makefile.mods.in')
-rw-r--r--src/mods/Makefile.mods.in19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mods/Makefile.mods.in b/src/mods/Makefile.mods.in
deleted file mode 100644
index ca3c365..0000000
--- a/src/mods/Makefile.mods.in
+++ /dev/null
@@ -1,19 +0,0 @@
-SRCS=$(shell find ./ -name '*.cpp')
-MODS=$(addprefix ../../../mods/@CATEGORY@/, $(SRCS:.cpp=.so))
-CXX=@CXX@
-CXXFLAGS=@CXXFLAGS@
-all: mods
-${MODS}:
- @if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
- @${CXX} ${CXXGLAGS} -fPIC -shared -s -o $@ ` \
- echo $(notdir $@) | sed s/.so/.cpp/`
- @echo "mods:@CATEGORY@:`basename $@ | sed s/\.so// | sed s/yc_//` (` \
- du -hs $@ | awk '{ print $$1 }'`) "
-infotext:
- @echo "===> Compiling @CATEGORY@ modules"
-mods: infotext ${MODS}
- @echo "===> Num of @CATEGORY@ modules: `ls \
- ../../../mods/@CATEGORY@/*.so | wc -l | sed 's/ //g;'`"
-clean:
- @echo "===> Cleaning @CATEGORY@ modules"
- @if test -d ../../../mods/@CATEGORY@; then rm -Rf ../../../mods/@CATEGORY@; fi