mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix icon for coop-compiler
This commit is contained in:
parent
51fea7f6f2
commit
86f32059ac
1 changed files with 5 additions and 7 deletions
12
Makefile
12
Makefile
|
|
@ -903,17 +903,15 @@ endif
|
||||||
|
|
||||||
# icon
|
# icon
|
||||||
ifeq ($(WINDOWS_BUILD),1)
|
ifeq ($(WINDOWS_BUILD),1)
|
||||||
ifeq ($(ICON),1)
|
ifeq ($(ICON),1)
|
||||||
Command := mkdir -p "$(BUILD_DIR)/res"
|
Command := mkdir -p "$(BUILD_DIR)/res"
|
||||||
Resp := $(shell $(call Command))
|
Resp := $(shell $(call Command))
|
||||||
|
Command := windres -o "$(BUILD_DIR)/res/icon.o" -i "res/icon.rc" --preprocessor $(CC) --preprocessor-arg -E --preprocessor-arg -xc-header --preprocessor-arg -DRC_INVOKED
|
||||||
Command := windres -o "$(BUILD_DIR)/res/icon.o" -i "res/icon.rc"
|
|
||||||
Resp := $(shell $(call Command))
|
Resp := $(shell $(call Command))
|
||||||
|
|
||||||
ifeq ($(.SHELLSTATUS),0)
|
ifeq ($(.SHELLSTATUS),0)
|
||||||
LDFLAGS += $(BUILD_DIR)/res/icon.o
|
LDFLAGS += $(BUILD_DIR)/res/icon.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Coop specific libraries
|
# Coop specific libraries
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue