aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-21 15:47:43 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-21 15:47:43 +0100
commit01d47352b929db84b5a3179b70adb87088003f87 (patch)
tree75e7a3770c5e5f67480a4936a2c2668c460055d7
parenta0fff23195df68682296953aa6bcae7ff97a6ad1 (diff)
downloadvis-01d47352b929db84b5a3179b70adb87088003f87.tar.gz
vis-01d47352b929db84b5a3179b70adb87088003f87.tar.xz
build: create empty config.mk if it does not exist
This should fix `make local` (as used on travis-ci) and `make standalone` in cases where `configure` was not run successfully due to missing dependencies.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b08449f..7d10205 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,9 @@ all: vis
config.h:
cp config.def.h config.h
+config.mk:
+ @touch $@
+
vis: config.h config.mk *.c *.h
${CC} ${CFLAGS} ${CFLAGS_VIS} *.c ${LDFLAGS} ${LDFLAGS_VIS} -o $@