Loader/tests/project.conf

43 lines
798 B
Plaintext

subdirs=arch/amd64
targets=distcheck.log,printself,printself-static,tests.log
as=$(CC)
asflags_force=$(CPPFLAGSF) $(CFLAGSF) -c
asflags=$(CPPFLAGS) $(CFLAGS)
cppflags_force=
cflags_force=-g
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,distcheck.sh,tests.sh
mode=amd64-debug
#modes
[mode::amd64-release]
cppflags_force=-DNDEBUG
cflags_force=
[mode::i386-release]
cppflags_force=-DNDEBUG
cflags_force=
#targets
[distcheck.log]
type=script
script=./distcheck.sh
depends=distcheck.sh
enabled=0
[printself]
type=binary
sources=printself.S
[printself-static]
type=binary
ldflags=-static
sources=printself-static.S
[tests.log]
type=script
script=./tests.sh
depends=$(OBJDIR)printself,$(OBJDIR)printself-static,tests.sh
enabled=0