Makefile; Factor out squish params and build with verse by default

Tue, 11 Sep 2018 20:59:54 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 11 Sep 2018 20:59:54 +0100
changeset 122
709d5bb0acb4
parent 121
b09433ea9b0c
child 123
96b81f84809a

Makefile; Factor out squish params and build with verse by default

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Tue Sep 11 20:59:11 2018 +0100
+++ b/Makefile	Tue Sep 11 20:59:54 2018 +0100
@@ -7,6 +7,8 @@
 SOURCE_FILES=$(shell $(SQUISH) --list-files)
 MISSING_FILES=$(shell $(SQUISH) --list-missing-files)
 
+SQUISH_PARAMS=--with-verse
+
 OUTPUT=build/scansion
 
 BIN_DIR=$(PREFIX)/bin
@@ -14,7 +16,7 @@
 all: $(OUTPUT)
 
 $(OUTPUT): build squishy $(SOURCE_FILES)
-	$(SQUISH) --output=$(OUTPUT)
+	$(SQUISH) $(SQUISH_PARAMS) --output=$(OUTPUT)
 
 build:
 	mkdir build

mercurial