This commit is contained in:
Harvey Fong 2025-07-30 17:10:45 -06:00
parent a8c5543056
commit 5c593ed0f9
2 changed files with 4 additions and 4 deletions

View File

@ -85,11 +85,11 @@ C_FLAGS = $(COMMON_FLAGS) -std=c17
CXX_FLAGS = $(COMMON_FLAGS) -std=c++17 -Wno-deprecated-declarations CXX_FLAGS = $(COMMON_FLAGS) -std=c++17 -Wno-deprecated-declarations
# Objects # Objects
OBJECTS = vmax2bella.o OBJECTS = $(EXECUTABLE_NAME).o
OBJECT_FILES = $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS)) OBJECT_FILES = $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
# Build rules # Build rules
$(OBJ_DIR)/vmax2bella.o: vmax2bella.cpp $(OBJ_DIR)/$(EXECUTABLE_NAME).o: $(EXECUTABLE_NAME).cpp
@mkdir -p $(@D) @mkdir -p $(@D)
$(CXX) -c -o $@ $< $(CXX_FLAGS) $(CPP_DEFINES) $(CXX) -c -o $@ $< $(CXX_FLAGS) $(CPP_DEFINES)
@ -108,7 +108,7 @@ all: $(OUTPUT_FILE)
.PHONY: clean cleanall all .PHONY: clean cleanall all
clean: clean:
rm -f $(OBJ_DIR)/vmax2bella.o rm -f $(OBJ_DIR)/$(EXECUTABLE_NAME).o
rm -f $(OUTPUT_FILE) rm -f $(OUTPUT_FILE)
rm -f $(BIN_DIR)/$(SDK_LIB_FILE) rm -f $(BIN_DIR)/$(SDK_LIB_FILE)
rm -f $(BIN_DIR)/*.$(SDK_LIB_EXT) rm -f $(BIN_DIR)/*.$(SDK_LIB_EXT)

View File

@ -112,7 +112,7 @@ make all -j4
``` ```
## Windows (win10) ## Windows (win10)
- [optioanl] Install https://git-scm.com - [optional] Install https://git-scm.com
- Download Visual Studio Community Edition 2022 - Download Visual Studio Community Edition 2022
- Run VisualStudioSetup.exe - Run VisualStudioSetup.exe