aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2025-01-27 01:20:19 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2025-01-27 01:33:00 +0100
commit2a26c1506192468be6c4cd06465bee861d87db51 (patch)
tree9ae5fc333e61c2478dfc57842daeacbf1dc78867 /Makefile
parent3f62112e3a1b180a9b931d6f43b3cdc74e7ba3b9 (diff)
downloadcpp-utils-main.tar.gz
cpp-utils-main.zip
elf: simple elf-parser for dynamic symbolsHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0cf7eb6..9c1941c 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ LDFLAGS = $(SANITIZER)
# -- RULES ---------------------------------------------------------------------
-default: lint build $(BINS)
+default: build lint $(BINS)
run: $(RUNS)
@@ -33,6 +33,7 @@ build/%.o: test/%.cc
build:
mkdir -p build
+ make -C test/elf_parser
lint:
clang-format --dry-run -Werror $(shell find -name '*.cc' -o -name '*.h')
@@ -41,6 +42,7 @@ lint:
clean:
$(RM) -r build
$(RM) compile_commands.json events.json
+ make -C test/elf_parser clean
# Since DEPS files contain rules, include at the end.
-include $(DEPS)