mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
c6c829add1
- Adapt -Wl,-R -> -L in OSX * Comment some useless mk includes
31 lines
516 B
Makefile
31 lines
516 B
Makefile
RELEASE=1
|
|
DESTDIR=
|
|
|
|
COMPILER?=gcc
|
|
#COMPILER=mingw32-gcc
|
|
#tcc
|
|
|
|
# verbose error messages everywhere
|
|
STATIC_DEBUG=0
|
|
# getenv("LIBR_RTDEBUG");
|
|
RUNTIME_DEBUG?=1
|
|
|
|
ifeq (${RELEASE},1)
|
|
PREFIX=/usr/local
|
|
else
|
|
PREFIX=${PWD}/prefix
|
|
VERSION=`date '+%Y%m%d'`
|
|
endif
|
|
|
|
LIBDIR=${PREFIX}/lib
|
|
|
|
-include config-user.mk
|
|
-include ../config-user.mk
|
|
-include ../../config-user.mk
|
|
-include ../../../config-user.mk
|
|
|
|
-include mk/${COMPILER}.mk
|
|
-include ../mk/${COMPILER}.mk
|
|
-include ../../mk/${COMPILER}.mk
|
|
-include ../../../mk/${COMPILER}.mk
|