From 9fdbb5c72e139cd42362bd1ba4535b2984f73e65 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Sun, 29 Nov 2020 20:14:19 +0100 Subject: [PATCH] Makefile: Mark clean, beta and dist targets as phony --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0aa4e18..b98fc79 100644 --- a/Makefile +++ b/Makefile @@ -102,6 +102,7 @@ ZIPNAME := ${ZIPNAME}-${BINARY} endif # create a distribution archive for publication +.PHONY: dist dist: build mkdir $(DIRNAME) cp -p -r --parents $(CONTENTS) $(DIRNAME) @@ -113,6 +114,7 @@ dist: build # machine files are included since tests may need them; # nothing else is in the archive since it is not intended # for the public, just designated volunteers +.PHONY: beta beta: echo "This is an incomplete beta release of the DASM assembler." >README.BETA echo "The purpose is to identify regressions, nothing more." >>README.BETA @@ -124,6 +126,7 @@ beta: # remove beta archives and bin/ directory created by # regular build from this Makefile; don't delete the # "real" distribution archives +.PHONY: clean clean: @${MAKE} -C src $@ @${MAKE} -C test $@