From 20249887d9e9ad6e10ee0962879345dd1413bb5b Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 4 May 2018 11:19:06 +0200 Subject: [PATCH] improve Makefile * lock the target * the all target don't need to be defined, and cannot be and no default one from here ... --- dnx.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dnx.mk b/dnx.mk index ab04f305..fe0bbb41 100644 --- a/dnx.mk +++ b/dnx.mk @@ -20,8 +20,6 @@ BINTARGETPATH=bin/$(CONFIGURATION)/$(FRAMEWORKALIAS)/$(BINTARGET) git_status := $(shell git status -s --porcelain |wc -l) -all: $(BINTARGETPATH) - rc-num.txt-check: ifndef rc_num @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/output -$(BINTARGETPATH): project.json rc-num.txt-check +$(BINTARGETPATH): project.lock.json rc-num.txt-check dnu build --configuration=$(CONFIGURATION) # Default target, from one level sub dirs