diff options
author | xengineering <me@xengineering.eu> | 2024-01-05 10:05:17 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-05 10:07:04 +0100 |
commit | dacd1e01e33033a5d6915d017d9ba1eba81622ff (patch) | |
tree | bc3f9ce2663e4f179231f8ae9931ea202441b2f5 | |
parent | 70140597920ef71896283a5ad18538fed5ed99c9 (diff) | |
download | soundbox-dacd1e01e33033a5d6915d017d9ba1eba81622ff.tar soundbox-dacd1e01e33033a5d6915d017d9ba1eba81622ff.tar.zst soundbox-dacd1e01e33033a5d6915d017d9ba1eba81622ff.zip |
Introduce 'debug' target
This target will skip generating the artifacts directory. This avoids a
bloated build directory while the default target 'all' still generates
the artifacts.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ all: $(ARCHIVE) $(ARCHIVE): $(TARGET_DIR) tar --zstd -cf $@ -C $(ARTIFACTS_DIR) $(TARGET_NAME) -$(TARGET_DIR): doc mech +$(TARGET_DIR): debug rm -rf $@ mkdir -p $@ install -Dm 644 $(BUILD_DIR)/doc/soundbox-documentation.pdf $@ @@ -21,6 +21,8 @@ $(TARGET_DIR): doc mech install -Dm 644 $(BUILD_DIR)/mech/pcb_case/tolerance_tests.gcode $@ install -Dm 644 $(BUILD_DIR)/mech/pcb_case/tolerance_tests.stl $@ +debug: doc mech + .PHONY: clean clean: rm -rf $(BUILD_DIR) |