From: Oliver Schmidt
Date: Wed, 1 Jun 2016 20:50:42 +0000 (+0200)
Subject: Corrected cleanup semantics.
X-Git-Tag: V2.16~125
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=506e44fb5dbfff0aed898823256dbe79346ac8a6;p=cc65
Corrected cleanup semantics.
There's no zap goal in cc65 Makefiles.
---
diff --git a/samples/Makefile b/samples/Makefile
index f90cafa5a..26b0e42f4 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -81,7 +81,7 @@ LDFLAGS_tgidemo_atari = -D __RESERVED_MEMORY__=0x2000
# --------------------------------------------------------------------------
# Generic rules
-.PHONY: all mostlyclean clean install zip samples d64 zap
+.PHONY: all mostlyclean clean install zip samples d64
%: %.c
%: %.s
@@ -178,10 +178,8 @@ zip:
# Clean-up rules
mostlyclean:
-
-clean:
@$(DEL) *.map *.o *.s *.lbl 2>$(NULLDEV)
-zap: clean
+clean: mostlyclean
@$(DEL) $(EXELIST) samples.d64 2>$(NULLDEV)
@$(DEL) multdemo.? ovrldemo.? 2>$(NULLDEV)