(20111213)
This commit is contained in:
26
Makefile
Normal file
26
Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
ifneq (,$(findstring MINGW,$(shell uname -s)))
|
||||
TARGET_ARCH=mingw
|
||||
else
|
||||
ARCH:=$(shell uname)
|
||||
ifeq ($(ARCH), Darwin)
|
||||
TARGET_ARCH=macosx
|
||||
else
|
||||
TARGET_ARCH=linux
|
||||
endif # Darwin
|
||||
endif # windir
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ifeq ($(TARGET_ARCH),mingw)
|
||||
include Makefile.mingw
|
||||
else
|
||||
ifeq ($(TARGET_ARCH),linux)
|
||||
include Makefile.linux
|
||||
else
|
||||
ifeq ($(TARGET_ARCH),macosx)
|
||||
include Makefile.macosx
|
||||
endif # macosx
|
||||
endif # linux
|
||||
endif # mingw
|
||||
Reference in New Issue
Block a user