Merge pull request #68 from letsdecrypt/master

makefile fix: make complains "Extraneous text after `else' directive"
This commit is contained in:
profi200
2018-05-15 23:33:48 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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