Loading Makefile 0 → 100644 +30 −0 Changes for Makefile: 30 added lines, 0 removed lines. Original line number Diff line number Diff line .DEFAULT_GOAL := all BUILD_DIR := build EXAMPLES_DIR := $(BUILD_DIR)/examples DOCX := $(BUILD_DIR)/ttcn-3.docx T3S := $(BUILD_DIR)/t3s .PHONY: all format examples docx t3s clean all: docx docx: examples $(T3S) | $(BUILD_DIR) $(T3S) export -o $(DOCX) examples: format $(T3S) | $(BUILD_DIR) rm -rf $(EXAMPLES_DIR) $(T3S) extract examples -o $(EXAMPLES_DIR) format: $(T3S) $(T3S) format || { status=$$?; \ echo "t3s format completed with diagnostics (exit $$status); continuing the build." >&2; } $(T3S): | $(BUILD_DIR) go -C tools build -o ../$@ ./cmd/t3s $(BUILD_DIR): mkdir -p $@ clean: rm -rf $(BUILD_DIR) Loading
Makefile 0 → 100644 +30 −0 Changes for Makefile: 30 added lines, 0 removed lines. Original line number Diff line number Diff line .DEFAULT_GOAL := all BUILD_DIR := build EXAMPLES_DIR := $(BUILD_DIR)/examples DOCX := $(BUILD_DIR)/ttcn-3.docx T3S := $(BUILD_DIR)/t3s .PHONY: all format examples docx t3s clean all: docx docx: examples $(T3S) | $(BUILD_DIR) $(T3S) export -o $(DOCX) examples: format $(T3S) | $(BUILD_DIR) rm -rf $(EXAMPLES_DIR) $(T3S) extract examples -o $(EXAMPLES_DIR) format: $(T3S) $(T3S) format || { status=$$?; \ echo "t3s format completed with diagnostics (exit $$status); continuing the build." >&2; } $(T3S): | $(BUILD_DIR) go -C tools build -o ../$@ ./cmd/t3s $(BUILD_DIR): mkdir -p $@ clean: rm -rf $(BUILD_DIR)