From b15e1c4a98abe6ed13be76d583c8ce35067fbddd Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Thu, 4 Dec 2014 10:18:08 +0100 Subject: Make all generated files, even if they're not used by the make file. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit