summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-12-04 10:19:29 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-12-04 10:19:29 +0100
commitbf0c5f26a96de9e82681f658856929e73022f9bf (patch)
tree76b009c3e4cbd20e7d474a66d864fe7be8cc3aa5 /Makefile
parentb8c479c1983d3b2efb2f64633082ebc5af8e26e0 (diff)
parent9da7f66feec3ec222760e5d34ff83e43ab41af39 (diff)
downloadpogojig-bf0c5f26a96de9e82681f658856929e73022f9bf.tar.gz
pogojig-bf0c5f26a96de9e82681f658856929e73022f9bf.tar.bz2
pogojig-bf0c5f26a96de9e82681f658856929e73022f9bf.zip
Merge commit '9da7f66feec3ec222760e5d34ff83e43ab41af39' into no-examples
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 37a6547..a06a0d1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,12 +21,12 @@ COMPILED_SCAD_FILES := $(filter-out $(LIBRARY_SCAD_FILES),$(SCAD_FILES))
STL_FILES := $(patsubst %.scad,%.stl,$(COMPILED_SCAD_FILES))
DXF_FILES := $(patsubst %.svg,%.dxf,$(SVG_FILES))
-# Everything.
-all: $(STL_FILES)
+# Everything. Also generates files which aren't compiled to anything else.
+all: $(STL_FILES) $(GENERATED_FILES)
# Everything^-1.
clean:
- rm -rf $(DXF_FILES) $(STL_FILES) $(GENERATED_SCAD_FILES)
+ rm -rf $(DXF_FILES) $(STL_FILES) $(GENERATED_FILES)
# Needs to be included after target all has been defined.
-include config.mk
@@ -44,4 +44,4 @@ $(foreach i,$(COMPILED_SCAD_FILES),$(eval $(i): $(filter $(dir $(i))%,$(LIBRARY_
# Rule for automaticlaly generated OpenSCAD files.
$(GENERATED_FILES): generate_sources.sh
- ./generate_sources.sh $@ > $@
+ ./generate_sources.sh $@