summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-03-08 14:06:50 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2015-03-08 14:06:50 +0100
commitff502f1d22de79648abc2005f83b7d462791ab9a (patch)
tree7863d9de03957f227d6f2f0a029f588e6fdba3c1
parent36c43557352828b7b9738f8114c493c5fd6a5e9a (diff)
downloadpogojig-ff502f1d22de79648abc2005f83b7d462791ab9a.tar.gz
pogojig-ff502f1d22de79648abc2005f83b7d462791ab9a.tar.bz2
pogojig-ff502f1d22de79648abc2005f83b7d462791ab9a.zip
Fixed failure when settings.mk or config.mk doesn't exist.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4b7a7e..01a0e45 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ STL_FILES := $(patsubst %.scad,%.stl,$(COMPILED_SCAD_FILES))
DXF_FILES := $(patsubst %.svg,%.dxf,$(SVG_FILES))
# Dependencies which may affect the result of all build products.
-GLOBAL_DEPS := Makefile config.mk settings.mk
+GLOBAL_DEPS := Makefile $(wildcard config.mk settings.mk)
# Everything. Also generates files which aren't compiled to anything else.
all: $(GENERATED_FILES) $(DXF_FILES) $(STL_FILES)