make output dir automatically
authorNathan Zadoks <nathan@nathan7.eu>
Thu, 7 Jun 2012 11:46:15 +0000 (13:46 +0200)
committerNathan Zadoks <nathan@nathan7.eu>
Thu, 7 Jun 2012 11:46:15 +0000 (13:46 +0200)
Makefile

index 60f26f4..38e515b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,4 +10,5 @@ STL_FILES = $(STL_FILES_1:%.scad=%.stl)
 all: $(STL_FILES)
 
 output/%.stl: %.scad $(INCLUDES) configuration.scad
+    mkdir -p output
        openscad -o $@ $<