mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-12 08:40:58 +00:00
d3958f00e4
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
37 lines
989 B
Makefile
37 lines
989 B
Makefile
include ../../config.mk
|
|
include ../../../mk/platform.mk
|
|
|
|
CFLAGS+=-I$(TOP)/shlr -I../../include -I../arch/ -I../arch/include
|
|
CFLAGS+=-Wall -shared ${PIC_CFLAGS} ${LDFLAGS_LIB} ${LDFLAGS_LINKPATH}..
|
|
LDFLAGS+=-L../../util -L../../flag
|
|
ifeq ($(CC),cccl)
|
|
LDFLAGS+=${LINK} -llibr_flag -llibr_util
|
|
else
|
|
LDFLAGS+=${LINK} -lr_flag -lr_util
|
|
endif
|
|
|
|
CURDIR=
|
|
|
|
foo: all
|
|
|
|
ALL_TARGETS=
|
|
# TODO: rename to enabled plugins
|
|
ARCHS=mips_gnu.mk x86_cs.mk sparc_cs.mk sparc_gnu.mk java.mk bf.mk arm_gnu.mk dalvik.mk
|
|
ARCHS+=x86_as.mk x86_nz.mk cris_gnu.mk vax.mk
|
|
ARCHS+=ppc_gnu.mk ppc_cs.mk x86_udis.mk xap.mk x86_nasm.mk avr.mk
|
|
ARCHS+=sh.mk arm_winedbg.mk tms320.mk gb.mk snes.mk ebc.mk malbolge.mk ws.mk
|
|
ARCHS+=6502.mk h8300.mk cr16.mk v850.mk spc700.mk propeller.mk msp430.mk i4004.mk
|
|
ARCHS+=lh5801.mk v810.mk mcs96.mk lm32.mk
|
|
ARCHS+=riscv.mk rsp.mk
|
|
include $(ARCHS)
|
|
|
|
all: ${ALL_TARGETS}
|
|
|
|
clean:
|
|
-rm -f *.${EXT_SO} *.o ${STATIC_OBJ}
|
|
|
|
mrproper: clean
|
|
-rm -f *.d ../arch/*/*/*.d
|
|
|
|
.PHONY: all clean foo mrproper
|