libDesktop/tests/project.conf

34 lines
850 B
Plaintext

targets=htmllint.log,tests.log,widget,xmllint.log
cppflags_force=-I ../include
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags=-pie -Wl,-z,relro -Wl,-z,now
#for Gtk+ 2
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
#for Gtk+ 3
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
dist=Makefile,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
[htmllint.log]
type=script
script=./htmllint.sh
depends=htmllint.sh
[tests.log]
type=script
script=./tests.sh
depends=pkgconfig.sh,tests.sh
[widget]
type=binary
sources=widget.c
[widget.c]
depends=$(OBJDIR)../src/libDesktop.a
[xmllint.log]
type=script
script=./xmllint.sh
depends=xmllint.sh