mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-26 15:35:55 +00:00
25 lines
401 B
Makefile
Executable File
25 lines
401 B
Makefile
Executable File
ifeq ($(OSTYPE),auto)
|
|
OSTYPE=$(shell uname | tr 'A-Z' 'a-z')
|
|
endif
|
|
ifneq (,$(findstring cygwin,${OSTYPE}))
|
|
PIC_CFLAGS=
|
|
else
|
|
ifneq (,$(findstring mingw32,${OSTYPE}))
|
|
PIC_CFLAGS=
|
|
else
|
|
ifneq (,$(findstring mingw64,${OSTYPE}))
|
|
PIC_CFLAGS=
|
|
else
|
|
ifneq (,$(findstring msys,${OSTYPE}))
|
|
PIC_CFLAGS=
|
|
else
|
|
ifeq ($(CC),cccl)
|
|
PIC_CFLAGS=
|
|
else
|
|
PIC_CFLAGS=-fPIC
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|