Skip to content

Commit

Permalink
Missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 15, 2023
1 parent c12d4ba commit 1947df5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions libr/arch/hexagon/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SO=$(shell r2 -H R2_LIBEXT)
PD=$(shell r2 -H R2_USER_PLUGINS)

CFLAGS+=$(shell pkg-config --cflags r_util r_arch)
LDFLAGS+=$(shell pkg-config --libs r_util r_arch)
CFLAGS+=-g

OBJS=arch_hexagon.o
OBJS+=hexagon.o
OBJS+=hexagon_anal.o
OBJS+=hexagon_disas.o


all: arch_hexagon.${SO}

arch_hexagon.$(SO): $(OBJS)
$(CC) -shared -fPIC -o arch_hexagon.$(SO) $(OBJS) $(LDFLAGS)
rm -f $(PD)/arch_hexagon.$(SO)
cp -f arch_hexagon.$(SO) $(PD)/arch_hexagon.$(SO)

clean:
rm -f arch_hexagon.$(SO) $(OBJS)

0 comments on commit 1947df5

Please sign in to comment.