Skip to content

Commit

Permalink
Work with spaces in the project name.
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Jul 8, 2021
1 parent ada8598 commit ac612c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules.mk
Expand Up @@ -41,6 +41,8 @@ ASFLAGS := -isrc/ -i$(MYDIR)/inc -i$(BUILD)/assets/ -Wall
LDFLAGS := --pad 0xFF
FIXFLAGS := --validate --pad-value 0xFF --title "$(PROJECT_NAME)" --mbc-type "$(MBC)" -l 0x33
ROM_EXTENSION := gb
# Replace spaces with underscores in the project name.
PROJECT_NAME := $(subst $() $(),_,$(PROJECT_NAME))

ifeq ($(filter CGB,$(TARGETS)),) # Not targeting CGB, so disable CGB features
CFLAGS += -DCGB=0
Expand Down

0 comments on commit ac612c4

Please sign in to comment.