makefile crap yet again
This commit is contained in:
parent
1e8a067b83
commit
bb41c6643e
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user