improve Makefile
* lock the target * the all target don't need to be defined, and cannot be and no default one from here ...
This commit is contained in:
parent
6e6aca44f0
commit
f49045e588
1 changed files with 1 additions and 3 deletions
4
dnx.mk
4
dnx.mk
|
|
@ -20,8 +20,6 @@ BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET)
|
||||||
|
|
||||||
git_status := $(shell git status -s --porcelain |wc -l)
|
git_status := $(shell git status -s --porcelain |wc -l)
|
||||||
|
|
||||||
all: $(BINTARGETPATH)
|
|
||||||
|
|
||||||
rc-num.txt-check:
|
rc-num.txt-check:
|
||||||
ifndef rc_num
|
ifndef rc_num
|
||||||
@echo no rc num ... please, could you try and run 'make rc-num.txt' ?.
|
@echo no rc num ... please, could you try and run 'make rc-num.txt' ?.
|
||||||
|
|
@ -47,7 +45,7 @@ cleanoutput:
|
||||||
rm -rf bin/$(CONFIGURATION)
|
rm -rf bin/$(CONFIGURATION)
|
||||||
rm -rf bin/output
|
rm -rf bin/output
|
||||||
|
|
||||||
$(BINTARGETPATH): project.json rc-num.txt-check
|
$(BINTARGETPATH): project.lock.json rc-num.txt-check
|
||||||
dnu build --configuration=$(CONFIGURATION)
|
dnu build --configuration=$(CONFIGURATION)
|
||||||
|
|
||||||
# Default target, from one level sub dirs
|
# Default target, from one level sub dirs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue