18 lines
669 B
Plaintext
18 lines
669 B
Plaintext
targets=libasm
|
|
cppflags_force=-I ../include -DSTANDALONE
|
|
cflags_force=-W -fPIC
|
|
cflags=-Wall -g -O2
|
|
dist=Makefile
|
|
|
|
[libasm]
|
|
type=library
|
|
sources=arch.c,arch/amd64.c,arch/arm.c,arch/armeb.c,arch/armel.c,arch/dalvik.c,arch/i386.c,arch/i386_real.c,arch/i486.c,arch/i586.c,arch/i686.c,arch/java.c,arch/mips.c,arch/mipseb.c,arch/mipsel.c,arch/sparc.c,arch/sparc64.c,arch/yasep.c,arch/yasep16.c,arch/yasep32.c,format.c,format/dex.c,format/elf.c,format/flat.c,format/java.c,format/pe.c
|
|
cflags=`pkg-config --cflags cpp`
|
|
ldflags=../src/asm.o ../src/code.o ../src/parser.o ../src/token.o `pkg-config --libs cpp`
|
|
|
|
[arch.c]
|
|
depends=../src/arch.c
|
|
|
|
[format.c]
|
|
depends=../src/format.c
|