mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 07:00:30 +00:00
0d4faf652e
- Registers for which version of core was compiled * Use tar --format=posix when GNU tar - Fixes the dependency on BSD systems * Fix in doc/fortunes * Fix this class pointer in asm_java * Re-Fix uglily the bin_elf strtab issue (needs more work) * Fix Vala regression in r_asm.vapi
29 lines
486 B
Makefile
29 lines
486 B
Makefile
CC?=gcc
|
|
LINK=
|
|
RANLIB=ranlib
|
|
ONELIB=0
|
|
CC_AR=ar q ${LIBAR}
|
|
PIC_CFLAGS=-fPIC
|
|
CFLAGS+=-MD
|
|
CFLAGS_INCLUDE=-I
|
|
LDFLAGS_LINK=-l
|
|
LDFLAGS_LINKPATH=-L
|
|
CFLAGS_OPT0=-O0
|
|
CFLAGS_OPT1=-O1
|
|
CFLAGS_OPT2=-O2
|
|
CFLAGS_OPT3=-O3
|
|
CFLAGS_DEBUG=-g
|
|
|
|
ifeq ($(OSTYPE),darwin)
|
|
LDFLAGS_LIB=-dynamiclib
|
|
LDFLAGS_SONAME=-Wl,-install_name,
|
|
else
|
|
LDFLAGS_LIB=-shared
|
|
#ifneq (${NAME},)
|
|
#LDFLAGS_LIB+=-Wl,-soname,lib${NAME}.${EXT_SO}.${VERSION}
|
|
#endif
|
|
LDFLAGS_SONAME=-Wl,-soname=
|
|
endif
|
|
|
|
CC_LIB=${CC} ${LDFLAGS_LIB} -o ${LIBSO}
|