Skip to content

Commit 9fdbb5c

Browse files
committed
Makefile: Mark clean, beta and dist targets as phony
1 parent 108eaeb commit 9fdbb5c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ ZIPNAME := ${ZIPNAME}-${BINARY}
102102
endif
103103

104104
# create a distribution archive for publication
105+
.PHONY: dist
105106
dist: build
106107
mkdir $(DIRNAME)
107108
cp -p -r --parents $(CONTENTS) $(DIRNAME)
@@ -113,6 +114,7 @@ dist: build
113114
# machine files are included since tests may need them;
114115
# nothing else is in the archive since it is not intended
115116
# for the public, just designated volunteers
117+
.PHONY: beta
116118
beta:
117119
echo "This is an incomplete beta release of the DASM assembler." >README.BETA
118120
echo "The purpose is to identify regressions, nothing more." >>README.BETA
@@ -124,6 +126,7 @@ beta:
124126
# remove beta archives and bin/ directory created by
125127
# regular build from this Makefile; don't delete the
126128
# "real" distribution archives
129+
.PHONY: clean
127130
clean:
128131
@${MAKE} -C src $@
129132
@${MAKE} -C test $@

0 commit comments

Comments
 (0)