summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 184f7c0..f470f1b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,8 @@ DEBUG := -g
9CXX := g++ 9CXX := g++
10CXXFLAGS := $(WARNINGS) $(OPTIMIZE) $(DEBUG) 10CXXFLAGS := $(WARNINGS) $(OPTIMIZE) $(DEBUG)
11 11
12SED := sed
13
12XXD := xxd 14XXD := xxd
13 15
14override CXXFLAGS += -std=c++20 16override CXXFLAGS += -std=c++20
@@ -47,4 +49,4 @@ $(BUILD)/procmodel: $(OBJECTS)
47 49
48$(BUILD)/%.bin: %.hex 50$(BUILD)/%.bin: %.hex
49 @mkdir -p $(dir $@) 51 @mkdir -p $(dir $@)
50 $(XXD) -r -p $< $@ 52 $(SED) -e "s/\\s*#.*//" $< | $(XXD) -r -p > $@