Skip to content

Commit

Permalink
change Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpau committed Jul 9, 2020
1 parent 53c9445 commit ae39e56
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test ctest covdir coverage docs linter qtest clean dep release logo rpm
.PHONY: test ctest covdir coverage docs linter qtest clean dep release logo rpm build
APP="dyndns"
APP_VERSION:=$(shell cat VERSION | head -1)
GIT_COMMIT:=$(shell git describe --dirty --always)
Expand All @@ -13,7 +13,10 @@ ifdef TEST
endif
BINARY=${APP}

all:
all: build
@echo "OK"

build: clean
@echo "Version: $(APP_VERSION), Branch: $(GIT_BRANCH), Revision: $(GIT_COMMIT)"
@echo "Build on $(BUILD_DATE) by $(BUILD_USER)"
@mkdir -p bin/
Expand Down

0 comments on commit ae39e56

Please sign in to comment.