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
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
|
|
|