Makefile: Error if config.unix is missing

Fri, 01 Jan 2016 15:50:58 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 01 Jan 2016 15:50:58 +0000
changeset 373
39090da18b83
parent 372
0ce6d4a1e2fd
child 374
3267ae7c9217

Makefile: Error if config.unix is missing

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Fri Jan 01 15:41:04 2016 +0000
+++ b/Makefile	Fri Jan 01 15:50:58 2016 +0000
@@ -1,5 +1,9 @@
 include config.unix
 
+ifndef SQUISH
+  $(error Please run ./configure first)
+endif
+
 SOURCE_FILES=$(shell $(SQUISH) --list-files)
 MISSING_FILES=$(shell $(SQUISH) --list-missing-files)
 

mercurial