aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-10-11 13:59:47 (UTC)
committerjan <jan@ruken.pw>2016-10-11 13:59:47 (UTC)
commit738b5027d664258ca8efbfe3d7eeea31d621535f (patch)
tree0f698864ffff9ee829f516009993cd2c211b9fa2 /Makefile
parent8cb799463ed0117091f0f9b1abea5eb6722aaa59 (diff)
NAME variable verwenden
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9206ed2..12f5f53 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
1include config.mk 1include config.mk
2 2
3BINARY_PATH=./bin 3BINARY_PATH=./bin
4APP_NAME=grilist
5IMPORTER_FILES = $(shell find tools/importer/ -type f -name '*.go') 4IMPORTER_FILES = $(shell find tools/importer/ -type f -name '*.go')
6 5
7CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css')) 6CSS_FILES = $(patsubst assets_src/%, assets/%, $(shell find assets_src/css/ -type f -name '*.css'))
@@ -23,7 +22,7 @@ print_info:
23 @echo $(DEPFILES) 22 @echo $(DEPFILES)
24 23
25app: 24app:
26 go build -o $(BINARY_PATH)/$(APP_NAME) 25 go build -o $(BINARY_PATH)/$(NAME)
27 26
28.npm_update: package.json 27.npm_update: package.json
29 touch $@ 28 touch $@
@@ -53,7 +52,7 @@ assets/js/%.js: assets_src/js/%.js assets_src/js/%.d .babelrc .npm_update
53 @$(BROWSERIFY) --debug $< -o $@ -t babelify 52 @$(BROWSERIFY) --debug $< -o $@ -t babelify
54 53
55clean: 54clean:
56 -rm -- $(BINARY_PATH)/$(APP_NAME) 55 -rm -- $(BINARY_PATH)/$(NAME)
57 -rm -- $(CSS_FILES) 56 -rm -- $(CSS_FILES)
58 -rm -- $(LESS_FILES) 57 -rm -- $(LESS_FILES)
59 -rm -- $(JS_FILES) 58 -rm -- $(JS_FILES)