summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-12-04 10:18:08 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-12-04 10:18:08 +0100
commitb15e1c4a98abe6ed13be76d583c8ce35067fbddd (patch)
tree53661227e0332ac0afa957ef00a7302b83f0367e
parentb3f93f02fd2362664e98611845ac09beb894552a (diff)
downloadpogojig-b15e1c4a98abe6ed13be76d583c8ce35067fbddd.tar.gz
pogojig-b15e1c4a98abe6ed13be76d583c8ce35067fbddd.tar.bz2
pogojig-b15e1c4a98abe6ed13be76d583c8ce35067fbddd.zip
Make all generated files, even if they're not used by the make file.
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 81cbe15..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