Skip to content

Commit 02cc5e3

Browse files
committed
Devendor Zydis
1 parent b4e7175 commit 02cc5e3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ E9TOOL_OBJS=\
3737
E9TOOL_LIBS=\
3838
contrib/zydis/libZydis.a \
3939
contrib/libdw/libdw.a
40-
E9TOOL_CXXFLAGS=\
41-
-I src/e9tool/ -Wno-unused-function \
42-
-I contrib/zydis/include/ \
43-
-I contrib/zydis/dependencies/zycore/include/
40+
E9TOOL_CXXFLAGS= -I src/e9tool/ -Wno-unused-function
4441
E9TOOL_LDFLAGS=\
4542
-Wl,--dynamic-list=src/e9tool/e9tool.syms \
4643
-ldl -lz
@@ -52,9 +49,9 @@ E9TOOL_LDFLAGS=\
5249
all: e9tool e9patch
5350

5451
e9tool: CXXFLAGS += -O2 -DSYSTEM_LIBDW $(E9TOOL_CXXFLAGS)
55-
e9tool: contrib/zydis/libZydis.a $(E9TOOL_OBJS)
56-
$(CXX) $(CXXFLAGS) $(E9TOOL_OBJS) contrib/zydis/libZydis.a -o e9tool \
57-
$(E9TOOL_LDFLAGS) -ldw
52+
e9tool: $(E9TOOL_OBJS)
53+
$(CXX) $(CXXFLAGS) $(E9TOOL_OBJS) -o e9tool \
54+
$(E9TOOL_LDFLAGS) -ldw -lZydis
5855
strip e9tool
5956

6057
e9patch: CXXFLAGS += -O2

0 commit comments

Comments
 (0)