mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Fix Web build.
The ifeq($(TARGET_WEB),0) check on line 49 wasn't being endif'ed properly, which caused the rest of the code up until 244 (where an incorrect endif was placed) to be ignored. This commit fixes that issue and allows web builds to work normally.
This commit is contained in:
parent
32ec185188
commit
a0068c747b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -50,6 +50,7 @@ ifeq ($(TARGET_WEB),0)
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
WINDOWS_BUILD := 1
|
WINDOWS_BUILD := 1
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Release (version) flag defs
|
# Release (version) flag defs
|
||||||
|
|
||||||
|
@ -241,7 +242,6 @@ OPT_FLAGS += $(BITS)
|
||||||
ifeq ($(TARGET_WEB),1)
|
ifeq ($(TARGET_WEB),1)
|
||||||
OPT_FLAGS := -O2 -g4 --source-map-base http://localhost:8080/
|
OPT_FLAGS := -O2 -g4 --source-map-base http://localhost:8080/
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
# Use a default opt flag for gcc, then override if RPi
|
# Use a default opt flag for gcc, then override if RPi
|
||||||
ifeq ($(COMPILER),gcc)
|
ifeq ($(COMPILER),gcc)
|
||||||
|
|
Loading…
Reference in a new issue