makefile crap yet again

This commit is contained in:
TheRedBlueCube3 2025-06-21 23:45:05 +03:00
parent 1e8a067b83
commit bb41c6643e
2 changed files with 3 additions and 4 deletions

View File

@ -53,5 +53,4 @@ $(BUILD_DIR)/release_%.o: $(SRC_DIR)/%.cpp
$(CXX) -c -o $@ $< $(RLS_CXXFLAGS)
clean:
rm -rf $(BUILD_DIR)
rm $(BIN_DIR)/release $(BIN_DIR)/debug
rm -rf $(BUILD_DIR) $(DBG_DIR) $(RLS_DIR)

View File

@ -31,7 +31,7 @@ $(shell if not exist $(RLS_DIR) mkdir $(RLS_DIR))
$(shell if not exist $(BUILD_DIR) mkdir $(BUILD_DIR))
# phony rules
.PHONY := all debug release clean
.PHONY := all debug release clean libraries_debug libraries_release both
all: debug
@ -40,7 +40,7 @@ release: $(RLS_DIR)/release_stripped.exe $(RLS_DIR)/release.exe libraries_releas
both: debug release
libraries_debug: $(LIBS_DBG)
libraries_debug: $(LIBS_RLS)
libraries_release: $(LIBS_RLS)
# linking
$(DBG_DIR)/debug.exe: $(DBG_OBJS)