mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Updated makefile for coop-compiler
This commit is contained in:
parent
b5196ffba6
commit
7fc4b68033
1 changed files with 9 additions and 14 deletions
23
Makefile
23
Makefile
|
@ -89,30 +89,25 @@ WINDOWS_AUTO_BUILDER ?= 0
|
||||||
|
|
||||||
PYTHON := python3
|
PYTHON := python3
|
||||||
TOOLS_DIR := tools
|
TOOLS_DIR := tools
|
||||||
|
|
||||||
ifeq ($(WINDOWS_AUTO_BUILDER),1)
|
ifeq ($(WINDOWS_AUTO_BUILDER),1)
|
||||||
export SHELL=sh.exe
|
export SHELL=sh.exe
|
||||||
RM ?= rm.exe
|
RM ?= rm.exe
|
||||||
EXTRA_INCLUDES := -I ../include/1 -I ../include/2 -I ../include/3 -I ../include/4 -fno-use-linker-plugin
|
EXTRA_INCLUDES := -I ../include/1 -I ../include/2 -I ../include/3 -I ../include/4 -fno-use-linker-plugin
|
||||||
EXTRA_CFLAGS := -Wno-expansion-to-defined
|
EXTRA_CFLAGS := -Wno-expansion-to-defined
|
||||||
EXTRACT_ASSETS := ./extract_assets.exe
|
|
||||||
OUTPUT_LEVEL_HEADERS := $(TOOLS_DIR)/output_level_headers.exe
|
|
||||||
ZEROTERM := $(TOOLS_DIR)/zeroterm.exe
|
|
||||||
MKZIP := $(TOOLS_DIR)/mkzip.exe
|
|
||||||
ASSEMBLE_SOUND := $(TOOLS_DIR)/assemble_sound.exe
|
|
||||||
MARIO_ANIMS_CONVERTER := $(TOOLS_DIR)/mario_anims_converter.exe
|
|
||||||
DEMO_DATA_CONVERTER := $(TOOLS_DIR)/demo_data_converter.exe
|
|
||||||
else
|
else
|
||||||
EXTRA_INCLUDES :=
|
EXTRA_INCLUDES :=
|
||||||
EXTRA_CFLAGS :=
|
EXTRA_CFLAGS :=
|
||||||
EXTRACT_ASSETS := ./extract_assets.py
|
|
||||||
OUTPUT_LEVEL_HEADERS := $(PYTHON) $(TOOLS_DIR)/output_level_headers.py
|
|
||||||
ZEROTERM := $(PYTHON) $(TOOLS_DIR)/zeroterm.py
|
|
||||||
MKZIP := $(PYTHON) $(TOOLS_DIR)/mkzip.py
|
|
||||||
ASSEMBLE_SOUND := $(PYTHON) $(TOOLS_DIR)/assemble_sound.py
|
|
||||||
MARIO_ANIMS_CONVERTER := $(PYTHON) $(TOOLS_DIR)/mario_anims_converter.py
|
|
||||||
DEMO_DATA_CONVERTER := $(PYTHON) $(TOOLS_DIR)/demo_data_converter.py
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
EXTRACT_ASSETS := $(PYTHON) ./extract_assets.py
|
||||||
|
OUTPUT_LEVEL_HEADERS := $(PYTHON) $(TOOLS_DIR)/output_level_headers.py
|
||||||
|
ZEROTERM := $(PYTHON) $(TOOLS_DIR)/zeroterm.py
|
||||||
|
MKZIP := $(PYTHON) $(TOOLS_DIR)/mkzip.py
|
||||||
|
ASSEMBLE_SOUND := $(PYTHON) $(TOOLS_DIR)/assemble_sound.py
|
||||||
|
MARIO_ANIMS_CONVERTER := $(PYTHON) $(TOOLS_DIR)/mario_anims_converter.py
|
||||||
|
DEMO_DATA_CONVERTER := $(PYTHON) $(TOOLS_DIR)/demo_data_converter.py
|
||||||
|
|
||||||
# Attempt to detect OS
|
# Attempt to detect OS
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
|
|
Loading…
Reference in a new issue