diff options
author | Michael Schwarz <michi.schwarz@gmail.com> | 2015-03-09 18:29:19 +0100 |
---|---|---|
committer | Michael Schwarz <michi.schwarz@gmail.com> | 2015-03-09 18:29:49 +0100 |
commit | dc6284662bd4d42280e82833ef6350c3c096ae8b (patch) | |
tree | ac7617030986314255b2a7e81d7c2d0e4709e3f3 /Makefile | |
parent | ff502f1d22de79648abc2005f83b7d462791ab9a (diff) | |
download | pogojig-dc6284662bd4d42280e82833ef6350c3c096ae8b.tar.gz pogojig-dc6284662bd4d42280e82833ef6350c3c096ae8b.tar.bz2 pogojig-dc6284662bd4d42280e82833ef6350c3c096ae8b.zip |
Added makefile targets to build the project to a certain step.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -36,13 +36,20 @@ DXF_FILES := $(patsubst %.svg,%.dxf,$(SVG_FILES)) # Dependencies which may affect the result of all build products. GLOBAL_DEPS := Makefile $(wildcard config.mk settings.mk) +.PHONY: all clean generated dxf stl + # Everything. Also generates files which aren't compiled to anything else. -all: $(GENERATED_FILES) $(DXF_FILES) $(STL_FILES) +all: generated dxf stl # Everything^-1. clean: rm -rf $(GENERATED_FILES) $(DXF_FILES) $(STL_FILES) $(DEPENDENCY_FILES) +# Targets to build the project up to a specific step. +generated: $(GENERATED_FILES) +dxf: $(DXF_FILES) +stl: $(STL_FILES) + # Include the local configuration file and the dependency files. Needs to be included after the `all' target has been defined. -include config.mk settings.mk $(DEPENDENCY_FILES) |