targets=asm,graph,indent
cppflags_force=-I ../../include
cppflags=
cflags_force=`pkg-config --cflags cpp` -fPIC
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs cpp`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,asm/amd64.c,asm/i386.c,asm/i486.c,asm/i586.c,asm/i686.c

[asm]
type=plugin
sources=asm.c
cflags=`pkg-config --cflags Asm`
ldflags=`pkg-config --libs Asm`
install=$(LIBDIR)/C99/target

[asm.c]
depends=../../include/C99/target.h,asm/amd64.c,asm/i386.c,asm/i486.c,asm/i586.c,asm/i686.c,../../config.h

[graph]
type=plugin
sources=graph.c
install=$(LIBDIR)/C99/target

[graph.c]
depends=../../include/C99/target.h

[indent]
type=plugin
sources=indent.c
install=$(LIBDIR)/C99/target

[indent.c]
depends=../../include/C99/target.h,../common.h
