Skip to content

Commit

Permalink
Makefile: Mark clean, beta and dist targets as phony
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaell committed Nov 29, 2020
1 parent 108eaeb commit 9fdbb5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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 $@
Expand Down

0 comments on commit 9fdbb5c

Please sign in to comment.