mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-08 14:20:19 +00:00
24 lines
482 B
Makefile
24 lines
482 B
Makefile
include ../../global.mk
|
|
include $(TOP)/libr/config.mk
|
|
|
|
PYTHON=python2
|
|
SRC=$(shell ls *.c)
|
|
OUT=$(subst .c,.o,$(SRC))
|
|
CFLAGS+=-DHAVE_STRING_H=1
|
|
|
|
all: $(OUT)
|
|
|
|
$(OUT):
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -c `echo $@|sed -e 's,\.o,\.c,g'` -o $@
|
|
|
|
sync:
|
|
rm -rf tmp
|
|
mkdir -p tmp
|
|
git clone --depth 1 git://github.com/radare/udis86.git
|
|
cd udis86/libudis86 ; ${PYTHON} ../scripts/ud_itab.py ../docs/x86/optable.xml .
|
|
cp -f udis86/libudis86/*.[ch] .
|
|
rm -rf udis86
|
|
|
|
clean mrproper:
|
|
rm -f *.o *.d
|