Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. (bloaty 依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
429 B

#! /bin/bash
# Capstone Disassembler Engine
# By Nguyen Anh Quynh <aquynh@gmail.com>, 2013>
case "$1" in
"" ) make clean; make;;
"nix32" ) make clean; CFLAGS=-m32 LDFLAGS=-m32 make;;
"clang" ) make clean; make CC=clang;;
"win32" ) make clean; make CROSS=i686-w64-mingw32- windows;;
"win64" ) make clean; make CROSS=x86_64-w64-mingw32- windows;;
* ) echo "Usage: compile.sh [nix32|clang|win32|win64]"; exit 1;;
esac