mirror of
https://github.com/arkorty/ExprEvalplusplus.git
synced 2026-03-17 16:51:48 +00:00
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:
5
Makefile
5
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user