Skip to content

Commit

Permalink
Add missing file from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GJDuck committed Apr 1, 2021
1 parent 00ca635 commit ff4851f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions Makefile.zydis
@@ -0,0 +1,30 @@
CC=gcc
CFLAGS=-fPIC -O2 -I zydis/include/ -I zydis/dependencies/zycore/include/ \
-I zydis/src/

OBJS=zydis/src/Decoder.o \
zydis/src/DecoderData.o \
zydis/src/FormatterATT.o \
zydis/src/FormatterBase.o \
zydis/src/FormatterBuffer.o \
zydis/src/Formatter.o \
zydis/src/FormatterIntel.o \
zydis/src/MetaInfo.o \
zydis/src/Mnemonic.o \
zydis/src/Register.o \
zydis/src/SharedData.o \
zydis/src/String.o \
zydis/src/Utils.o \
zydis/src/Zydis.o \
zydis/dependencies/zycore/src/Allocator.o \
zydis/dependencies/zycore/src/ArgParse.o \
zydis/dependencies/zycore/src/Bitset.o \
zydis/dependencies/zycore/src/Format.o \
zydis/dependencies/zycore/src/List.o \
zydis/dependencies/zycore/src/String.o \
zydis/dependencies/zycore/src/Vector.o \
zydis/dependencies/zycore/src/Zycore.o

all: $(OBJS)
ar rcs libZydis.a $(OBJS)

2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -65,7 +65,7 @@ EOF
#define ZYCORE_NO_DEPRECATED
#endif
EOF
make -f Makefile.zydis
make -f Makefile.zydis -j `nproc`
fi

echo -e "${GREEN}$0${OFF}: building e9patch and e9tool..."
Expand Down

0 comments on commit ff4851f

Please sign in to comment.