Add radare2 ADSP-219x ASM plugin
This commit is contained in:
14
r2plugin/Makefile
Normal file
14
r2plugin/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
NAME=asm_adsp219x
|
||||
R2_PLUGIN_PATH=$(shell r2 -H R2_USER_PLUGINS)
|
||||
|
||||
all: $(NAME).so
|
||||
|
||||
$(NAME).so: $(NAME).c
|
||||
gcc -shared -Wall -O2 -fPIC $(shell pkg-config --cflags --libs r_asm) $< -o $@
|
||||
|
||||
install: $(NAME).so
|
||||
mkdir -p $(R2_PLUGIN_PATH)
|
||||
cp $(NAME).so $(R2_PLUGIN_PATH)
|
||||
|
||||
clean:
|
||||
rm -f $(NAME).so
|
||||
Reference in New Issue
Block a user