summaryrefslogtreecommitdiff
path: root/src/mods/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods/Makefile')
-rw-r--r--src/mods/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mods/Makefile b/src/mods/Makefile
index 7486bc5..1b0712b 100644
--- a/src/mods/Makefile
+++ b/src/mods/Makefile
@@ -1,15 +1,9 @@
-MAKE=gmake
+MAKE=`tail -n 1 ../../make.version`
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
+ @${MAKE} -C ./commands clean #//<<
+ @${MAKE} -C ./html clean
@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
-