Fix Makefiles

This commit is contained in:
2018-04-07 21:13:13 +02:00
committed by Valeriano A.R
parent 0e4b0ca94f
commit 50667691ff
6 changed files with 104 additions and 104 deletions

View File

@@ -1,15 +1,15 @@
IsMinGW=$(findstring MSYS,$(shell uname -s)) $(findstring MINGW,$(shell uname -s))
ifneq (,$(IsMinGW))
TARGET_ARCH:=mingw
else
TARGET_ARCH:=linux
endif # windir
ifeq ($(TARGET_ARCH),mingw)
include Makefile.win32
else
ifeq ($(TARGET_ARCH),linux)
include Makefile.linux
endif # linux
endif # mingw
IsMinGW := $(findstring MSYS,$(shell uname -s))$(findstring MINGW,$(shell uname -s))
ifneq (,$(IsMinGW))
TARGET_ARCH := mingw
else
TARGET_ARCH := linux
endif
ifeq ($(TARGET_ARCH),mingw)
include Makefile.win32
else
ifeq ($(TARGET_ARCH),linux)
include Makefile.linux
endif # linux
endif # mingw