mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 19:43:31 +02:00
Use a variable rather than a macro
This commit is contained in:
4
Makefile
4
Makefile
@@ -152,9 +152,9 @@ RGBLINK := $(RGBDS)rgblink
|
||||
RGBGFX := $(RGBDS)rgbgfx
|
||||
|
||||
# RGBASM 0.7+ deprecate and remove `-h`
|
||||
RGBASM_FLAGS = $(if $(filter $(shell echo 'println __RGBDS_MAJOR__ || (!__RGBDS_MAJOR__ && __RGBDS_MINOR__ > 6)' | $(RGBASM) -), $$0), -h,) --include $(OBJ)/BootROMs/ --include BootROMs/
|
||||
RGBASM_FLAGS := $(if $(filter $(shell echo 'println __RGBDS_MAJOR__ || (!__RGBDS_MAJOR__ && __RGBDS_MINOR__ > 6)' | $(RGBASM) -), $$0), -h,) --include $(OBJ)/BootROMs/ --include BootROMs/
|
||||
# RGBGFX 0.6+ replace `-h` with `-Z`, and need `-c embedded`
|
||||
RGBGFX_FLAGS = $(if $(filter $(shell echo 'println __RGBDS_MAJOR__ || (!__RGBDS_MAJOR__ && __RGBDS_MINOR__ > 5)' | $(RGBASM) -), $$0), -h -u, -Z -u -c embedded)
|
||||
RGBGFX_FLAGS := $(if $(filter $(shell echo 'println __RGBDS_MAJOR__ || (!__RGBDS_MAJOR__ && __RGBDS_MINOR__ > 5)' | $(RGBASM) -), $$0), -h -u, -Z -u -c embedded)
|
||||
|
||||
|
||||
# Set compilation and linkage flags based on target, platform and configuration
|
||||
|
Reference in New Issue
Block a user