summaryrefslogtreecommitdiff
path: root/src/mods/Makefile
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
commit498c570e089b41f122584ace973a69b7590232cd (patch)
treee45ffca8cf18ac5d00a2928229d8a717a3718669 /src/mods/Makefile
parent5dcfbb71e9e44b33caefe80f2a5d8ccd3431f3d9 (diff)
Diffstat (limited to 'src/mods/Makefile')
-rw-r--r--src/mods/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mods/Makefile b/src/mods/Makefile
new file mode 100644
index 0000000..7486bc5
--- /dev/null
+++ b/src/mods/Makefile
@@ -0,0 +1,15 @@
+MAKE=gmake
+all: mods
+mods:
+ @${MAKE} -C ./commands #//<<
+ @${MAKE} -C ./html
+clean:
+ @for i in commands html; do \
+ if [ -f $$i/Makefile ]; then ${MAKE} -C ./$$i clean; \
+ fi; done
+ @if test -d ../../mods; then rm -Rf ../../mods; fi
+mrproper: clean
+ @for i in commands html; do \
+ if [ -f $$i/Makefile ]; then rm -f $$i/Makefile; \
+ fi; done
+