Remove Deprecated 'run' Target from Makefile and Update 'test' Target

Commit details:
- Removed the deprecated 'run' target from the Makefile, as it was redundant and not needed for the current project structure.
- Minor improvements and cleanup in the Makefile.
This commit is contained in:
Arkaprabha Chakraborty
2024-01-22 09:32:21 +05:30
parent cb2a43df69
commit faa06b1f87

View File

@@ -13,14 +13,9 @@ $(BUILD_DIR):
$(BUILD_DIR)/$(EXECUTABLE): $(SRC_DIR)/$(SOURCE) $(BUILD_DIR)
$(CXX) $(CXXFLAGS) -o $@ $<
.PHONY: run
run: $(BUILD_DIR)/$(EXECUTABLE)
./$<
.PHONY: test
test: CXXFLAGS += -DENABLE_TESTS
test: $(BUILD_DIR)/$(EXECUTABLE)
./$< --run-test
.PHONY: clean
clean: