From 738b5027d664258ca8efbfe3d7eeea31d621535f Mon Sep 17 00:00:00 2001 From: jan Date: Tue, 11 Oct 2016 15:59:47 +0200 Subject: NAME variable verwenden diff --git a/Makefile b/Makefile index 9206ed2..12f5f53 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ include config.mk BINARY_PATH=./bin -APP_NAME=grilist IMPORTER_FILES = $(shell find tools/importer/ -type f -name '*.go') CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css')) @@ -23,7 +22,7 @@ print_info: @echo $(DEPFILES) app: - go build -o $(BINARY_PATH)/$(APP_NAME) + go build -o $(BINARY_PATH)/$(NAME) .npm_update: package.json touch $@ @@ -53,7 +52,7 @@ assets/js/%.js: assets_src/js/%.js assets_src/js/%.d .babelrc .npm_update @$(BROWSERIFY) --debug $< -o $@ -t babelify clean: - -rm -- $(BINARY_PATH)/$(APP_NAME) + -rm -- $(BINARY_PATH)/$(NAME) -rm -- $(CSS_FILES) -rm -- $(LESS_FILES) -rm -- $(JS_FILES) -- cgit v0.10.1