summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-06-18 14:09:42 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-06-18 14:09:50 -0500
commit1908ff8ea7ccd55a6a3694f3e5e48bf0adfb679b (patch)
tree4d0852345c607ed84cad98477741956f4e66e8f7 /Makefile.in
parent5789bdebd73031c4c4ebd68fbadfefa4612fc521 (diff)
do not clean dmake if we use the system one
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 7a1ced2b6f3c..ebb4033ff346 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -123,9 +123,10 @@ clean:
rm -rf */$$INPATH && \
rm -rf solver/*/$$INPATH && \
rm -rf install && \
- $$GNUMAKE -C dmake clean && \
+ifeq (@BUILD_DMAKE@,YES)
+ -$$GNUMAKE -C dmake clean && \
rm -f solenv/*/bin/dmake* && \
- $$GNUMAKE -f GNUmakefile.mk -sr clean
+endif
ifeq (@CROSS_COMPILING@,YES)
. ./*Env.Set.sh && \
rm -rf */$$INPATH_FOR_BUILD && \