mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 08:12:44 +00:00
bbc508b324
This reverts commit 16c2fd2fe4fcdd1b530d8792adc47dca666bd868.
33 lines
931 B
Makefile
33 lines
931 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../../lib -L../../flag
|
|
LDFLAGS+=${LINK} -lr_flag -lr_util
|
|
|
|
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
|