mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-02 16:59:03 +00:00
makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user