diff options
| author | LLLL Colonq <llll@colonq> | 2026-10-23 20:47:43 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-10-23 20:48:45 -0400 |
| commit | db58f43065c3b397754bb9efcb4a7376b2538131 (patch) | |
| tree | 81452d262163237e82821e0eb5e518e581fa9276 /pit/Makefile | |
| parent | 62ab8e0b42a57bd794941f030b4c3140d6f7c744 (diff) | |
Diffstat (limited to 'pit/Makefile')
| -rw-r--r-- | pit/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pit/Makefile b/pit/Makefile index 2eeb084..388044a 100644 --- a/pit/Makefile +++ b/pit/Makefile @@ -37,10 +37,13 @@ libdir ?= $(exec_prefix)/lib GDBFLAGS ?= -.PHONY: all clean install install-bin install-headers install-core install-native check-syntax gdb +.PHONY: all test clean install install-bin install-headers install-core install-native check-syntax gdb all: $(EXE) $(LIB_CORE) $(LIB_NATIVE) +test: $(EXE) + @find test/ -type f -exec ./$(EXE) {} \; + $(EXE): $(BUILD)/main.o $(LIB_NATIVE) $(LIB_CORE) $(CC) -o $@ $^ $(LDFLAGS) |
