From 9c8b462f1fbcc0efd975bd1404c022fff56858d5 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 30 Dec 2009 16:03:22 -0800 Subject: 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 --- dosutil/Makefile | 6 ++++-- 1 file 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 -- cgit