C99

subdirs=sets,target
targets=c99
cppflags=
cflags_force=`pkg-config --cflags cpp`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs cpp`
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,code.h,common.h,parser.h,scanner.h,tokenset.h
[c99]
type=binary
sources=c99.c,code.c,main.c,parser.c,scanner.c,tokenset.c
install=$(BINDIR)
[c99.c]
depends=common.h,code.h,parser.h,../include/C99.h
[code.c]
depends=../include/C99/target.h,code.h,../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[main.c]
depends=../include/C99.h,../config.h
[parser.c]
depends=common.h,code.h,tokenset.h,scanner.h,../include/C99.h,../config.h
[scanner.c]
depends=../include/C99.h,../config.h
[tokenset.c]
depends=common.h,code.h,tokenset.h