From b2d7199e7e0e942f7953a609d07f8683d6309098 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 1 Aug 2012 00:18:18 +0100 Subject: [PATCH] 8317 auto build system --- th-8317/.gitignore | 2 ++ th-8317/Makefile | 17 +++++++++++++++++ th-8317/iwj-armend.scad | 3 --- th-8317/iwj-extensionarm.scad | 3 --- th-8317/iwj-forkclip.scad | 3 --- th-8317/iwj-hub.scad | 3 --- 6 files changed, 19 insertions(+), 12 deletions(-) create mode 100644 th-8317/.gitignore create mode 100644 th-8317/Makefile delete mode 100644 th-8317/iwj-armend.scad delete mode 100644 th-8317/iwj-extensionarm.scad delete mode 100644 th-8317/iwj-forkclip.scad delete mode 100644 th-8317/iwj-hub.scad diff --git a/th-8317/.gitignore b/th-8317/.gitignore new file mode 100644 index 0000000..4036dd0 --- /dev/null +++ b/th-8317/.gitignore @@ -0,0 +1,2 @@ +iwj-*.scad +iwj-*.stl diff --git a/th-8317/Makefile b/th-8317/Makefile new file mode 100644 index 0000000..1939ded --- /dev/null +++ b/th-8317/Makefile @@ -0,0 +1,17 @@ + +OBJECTS= Hub ExtensionArm ArmEnd ForkClip + +all: stls scads + +stls: $(foreach f,$(OBJECTS),iwj-$f.stl) + +scads: $(foreach f,$(OBJECTS),iwj-$f.scad) + +iwj-%.scad: + @echo ' write $@' + @echo >$@.new 'include ' + @echo >>$@.new '$*();' + @mv -f $@.new $@ + +%.stl: %.scad + openscad -o $@ $< diff --git a/th-8317/iwj-armend.scad b/th-8317/iwj-armend.scad deleted file mode 100644 index 02a2433..0000000 --- a/th-8317/iwj-armend.scad +++ /dev/null @@ -1,3 +0,0 @@ -include - -ArmEnd(); diff --git a/th-8317/iwj-extensionarm.scad b/th-8317/iwj-extensionarm.scad deleted file mode 100644 index 6088267..0000000 --- a/th-8317/iwj-extensionarm.scad +++ /dev/null @@ -1,3 +0,0 @@ -include - -ExtensionArm(); diff --git a/th-8317/iwj-forkclip.scad b/th-8317/iwj-forkclip.scad deleted file mode 100644 index d8a9656..0000000 --- a/th-8317/iwj-forkclip.scad +++ /dev/null @@ -1,3 +0,0 @@ -include - -ForkClip(); diff --git a/th-8317/iwj-hub.scad b/th-8317/iwj-hub.scad deleted file mode 100644 index 59738ea..0000000 --- a/th-8317/iwj-hub.scad +++ /dev/null @@ -1,3 +0,0 @@ -include - -Hub(); -- 2.30.2