diff --git a/Makefile b/Makefile index 59e630d..25df43e 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ ALOG_LIB = $(TARGET_DIR)/alog.so include tests/tests.mk .PHONY: so -so: $(if $(shell stat $(ALOG_LIB)), clean) $(ALOG_LIB) +alog-so: $(if $(shell stat $(ALOG_LIB)), clean) $(ALOG_LIB) $(ALOG_LIB): $(TARGET_DIR) $(ALOG_OBJ) $(CC) $(LDFLAGS) -o $(ALOG_LIB) $(ALOG_OBJ) @@ -34,5 +34,5 @@ $(TARGET_DIR): mkdir $(TARGET_DIR) .PHONY: clean -clean: +alog-clean: rm $(ALOG_LIB) $(ALOG_OBJ) diff --git a/tests/tests.mk b/tests/tests.mk index 9cc1397..ef5360f 100644 --- a/tests/tests.mk +++ b/tests/tests.mk @@ -6,7 +6,7 @@ $(ALOG_TESTS): $(ALOG_LIB) $(CC) -o $(TARGET_DIR)/$@ $(BUILD_DIR)/$@.o $(ALOG_LIB) chmod +x $(TARGET_DIR)/$@ -run-tests: $(ALOG_TESTS) +alog-tests: $(ALOG_TESTS) for test in $^ ; do \ $(TARGET_DIR)/$$test ; \ done