aboutsummaryrefslogtreecommitdiffstats
path: root/dosutil/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-30 16:03:22 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-12-30 16:03:22 -0800
commit9c8b462f1fbcc0efd975bd1404c022fff56858d5 (patch)
treef7333ecb6dc562b0d59f2e48cc5a2627e4ba44ac /dosutil/Makefile
parent769ee62ad8a0483cd2a2153be8c440dba3c57e9d (diff)
downloadsyslinux.git-9c8b462f1fbcc0efd975bd1404c022fff56858d5.tar.gz
syslinux.git-9c8b462f1fbcc0efd975bd1404c022fff56858d5.tar.xz
syslinux.git-9c8b462f1fbcc0efd975bd1404c022fff56858d5.zip
dosutil: don't remove targets which need Watcom even for "make spotless"
Most systems won't have Watcom installed, so don't remove Watcom-generated binaries even with "make spotless". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dosutil/Makefile')
-rw-r--r--dosutil/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/dosutil/Makefile b/dosutil/Makefile
index 53b3859a..2a105731 100644
--- a/dosutil/Makefile
+++ b/dosutil/Makefile
@@ -12,7 +12,9 @@ UPX = upx
NASM = nasm
NASMOPT = -O9999
-TARGETS = mdiskchk.com eltorito.sys
+WCTARGETS = mdiskchk.com
+NSTARGETS = eltorito.sys
+TARGETS = $(WCTARGETS) $(NSTARGETS)
%.obj: %.c
$(WCL) $(WCLOPT) -c -fo=$@ $<
@@ -43,7 +45,7 @@ tidy dist:
clean: tidy
spotless: clean
- -rm -f *.com *.sys *~
+ -rm -f $(NSTARGETS) *~
installer: all