diff options
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) |
