18 lines
406 B
Makefile
18 lines
406 B
Makefile
6 years ago
|
|
||
6 years ago
|
ifndef PRJNAME
|
||
6 years ago
|
PRJNAME := $(shell basename `pwd -P`)
|
||
6 years ago
|
endif
|
||
4 years ago
|
SOLUTIONDIR=../..
|
||
5 years ago
|
version := $(shell cat $(SOLUTIONDIR)/version.txt)
|
||
6 years ago
|
MAKE=make
|
||
|
NUGETSOURCE=$(HOME)/Nupkgs
|
||
5 years ago
|
VERSION=$(version)
|
||
6 years ago
|
CONFIGURATION=Debug
|
||
5 years ago
|
|
||
|
version-check:
|
||
|
ifndef version
|
||
|
@echo no version number specification ... please, could you try and run 'echo 1.2.3 > $(SOLUTIONDIR)version.txt' ?.
|
||
|
else
|
||
|
@echo 'Got version number : $(version)'
|
||
|
endif
|