mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-10 04:14:50 +00:00
More build fixes
This commit is contained in:
parent
710c91ff18
commit
9440560f92
@ -6,23 +6,16 @@ CFLAGS+=-DCORELIB -Iarch/include -Iarch -I../../shlr
|
||||
|
||||
include $(TOP)/libr/config.mk
|
||||
|
||||
foo:
|
||||
@for a in pre ${LIBSO} ${LIBAR} plugins ; do ${MAKE} $$a ; done
|
||||
.PHONY: all plugins
|
||||
|
||||
all: plugins
|
||||
|
||||
plugins: ${LIBSO} ${LIBAR}
|
||||
@cd d && ${MAKE}
|
||||
@cd p && ${MAKE} all
|
||||
|
||||
include ${STATIC_ASM_PLUGINS}
|
||||
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
|
||||
OBJS=${STATIC_OBJS} asm.o code.o
|
||||
|
||||
pre:
|
||||
@if [ ! -e libr_asm.${EXT_SO} ]; then if [ ! -e libr_asm.${EXT_AR} ]; then rm -f ${STATIC_OBJS} ; fi ; fi
|
||||
|
||||
re:
|
||||
rm -f asm.o libr_asm.so
|
||||
${MAKE}
|
||||
sudo ${MAKE} install
|
||||
|
||||
plugins:
|
||||
@cd d && ${MAKE}
|
||||
@cd p && ${MAKE} all
|
||||
|
||||
include $(TOP)/libr/rules.mk
|
||||
|
@ -73,7 +73,7 @@ pkgcfg:
|
||||
@echo 'Cflags: -I$${includedir}/libr' >> ../../pkgcfg/${NAME}.pc.acr
|
||||
|
||||
clean:: ${EXTRA_CLEAN}
|
||||
-rm -f *.${EXT_EXE} *.${EXT_SO} *.${EXT_AR} *.d
|
||||
-rm -f *.${EXT_EXE} *.${EXT_SO} *.${EXT_AR} *.d */*.d */*/*.d */*/*/*.d
|
||||
-rm -f ${LIBSO} ${LIBAR} ${OBJS} ${BIN} *.exe a.out
|
||||
-@if [ -e p/Makefile ]; then (cd p && ${MAKE} clean) ; fi
|
||||
@true
|
||||
|
Loading…
Reference in New Issue
Block a user