diff --git a/ctrtool/Makefile b/ctrtool/Makefile index 798f688..be6e85b 100644 --- a/ctrtool/Makefile +++ b/ctrtool/Makefile @@ -12,11 +12,11 @@ SYS := $(shell gcc -dumpmachine) ifneq (, $(findstring linux, $(SYS))) # Linux CFLAGS += -Wno-unused-but-set-variable -else ifneq(, $(findstring cygwin, $(SYS))) +else ifneq (, $(findstring cygwin, $(SYS))) # Cygwin CFLAGS += -Wno-unused-but-set-variable -DUSE_FILE32API LIBS += -liconv -static-libgcc -static-libstdc++ -else ifneq(, $(findstring darwin, $(SYS))) +else ifneq (, $(findstring darwin, $(SYS))) # OS X LIBS += -liconv else diff --git a/makerom/Makefile b/makerom/Makefile index f7ae626..5192bf4 100644 --- a/makerom/Makefile +++ b/makerom/Makefile @@ -10,11 +10,11 @@ SYS := $(shell gcc -dumpmachine) ifneq (, $(findstring linux, $(SYS))) # Linux CFLAGS += -Wno-unused-but-set-variable -else ifneq(, $(findstring cygwin, $(SYS))) +else ifneq (, $(findstring cygwin, $(SYS))) # Cygwin CFLAGS += -Wno-unused-but-set-variable LIBS += -liconv -else ifneq(, $(findstring darwin, $(SYS))) +else ifneq (, $(findstring darwin, $(SYS))) # OS X LIBS += -liconv else