aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile72
1 files changed, 39 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index 0a34fa0..4fd4058 100644
--- a/Makefile
+++ b/Makefile
@@ -1,43 +1,49 @@
-TARGETS := mplek_12.0mm.dae
-TARGETS += mplek_12.5mm.dae
-TARGETS += mplek_13.0mm.dae
-TARGETS += mplek_13.5mm.dae
-TARGETS += mplek_14.0mm.dae
-TARGETS += mplek_14.5mm.dae
-TARGETS += mplek_15.0mm.dae
-TARGETS += mplek_15.5mm.dae
-TARGETS += mplek_16.0mm.dae
-TARGETS += mplek_16.5mm.dae
-TARGETS += mplek_17.0mm.dae
-TARGETS += mplek_17.5mm.dae
-TARGETS += mplek_18.0mm.dae
-TARGETS += mplek_18.5mm.dae
-TARGETS += mplek_19.0mm.dae
-TARGETS += mplek_19.5mm.dae
-TARGETS += mplek_20.0mm.dae
-TARGETS += mplek_20.5mm.dae
-TARGETS += mplek_21.0mm.dae
-TARGETS += mplek_21.5mm.dae
-TARGETS += mplek_22.0mm.dae
-TARGETS += mplek_22.5mm.dae
-TARGETS += mplek_23.0mm.dae
-TARGETS += mplek_23.5mm.dae
-TARGETS += mplek_24.0mm.dae
-TARGETS += mplek_24.5mm.dae
-TARGETS += mplek_25.0mm.dae
-TARGETS += mplek_25.5mm.dae
-TARGETS += mplek_26.0mm.dae
-TARGETS += mplek_26.5mm.dae
+TARGETS := mplek_12.0mm
+TARGETS += mplek_12.5mm
+TARGETS += mplek_13.0mm
+TARGETS += mplek_13.5mm
+TARGETS += mplek_14.0mm
+TARGETS += mplek_14.5mm
+TARGETS += mplek_15.0mm
+TARGETS += mplek_15.5mm
+TARGETS += mplek_16.0mm
+TARGETS += mplek_16.5mm
+TARGETS += mplek_17.0mm
+TARGETS += mplek_17.5mm
+TARGETS += mplek_18.0mm
+TARGETS += mplek_18.5mm
+TARGETS += mplek_19.0mm
+TARGETS += mplek_19.5mm
+TARGETS += mplek_20.0mm
+TARGETS += mplek_20.5mm
+TARGETS += mplek_21.0mm
+TARGETS += mplek_21.5mm
+TARGETS += mplek_22.0mm
+TARGETS += mplek_22.5mm
+TARGETS += mplek_23.0mm
+TARGETS += mplek_23.5mm
+TARGETS += mplek_24.0mm
+TARGETS += mplek_24.5mm
+TARGETS += mplek_25.0mm
+TARGETS += mplek_25.5mm
+TARGETS += mplek_26.0mm
+TARGETS += mplek_26.5mm
-TARGETS += mstamp.dae
+TARGETS += mstamp
-all: $(TARGETS)
+TARGETS_DAE := $(TARGETS:=.dae)
+TARGETS_STL := $(TARGETS:=.stl)
+
+all: $(TARGETS_STL)
mplek_%mm.dae: mplek.py
blender -P $< -- $* $@
+mplek_%mm.stl: mplek.py
+ blender -P $< -- $* $@
+
mstamp.dae: mstamp.py
blender -P $< -- $@
clean:
- rm -f $(TARGETS)
+ rm -f $(TARGETS_DAE) $(TARGETS_STL)