]> jfr.im git - irc/quakenet/newserv.git/blob - build.mk.in
Use includes in all makefiles.
[irc/quakenet/newserv.git] / build.mk.in
1 ifeq ($(INCPATH),)
2 INCPATH=../
3 endif
4
5 @include@ @includel@$(INCPATH)configure.mk@includel@
6 @sinclude@ @includel@$(INCPATH)settings.mk@includel@
7
8 ifeq ($(BUILDID),)
9 BUILDID := \"$(shell (hg id || echo "unknown") | sed -e "s/ /-/;s/+-/-/")\"
10 export BUILDID
11 endif
12
13 CC=gcc
14 CFLAGS+=-Wall -g -fPIC -export-dynamic -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=${BUILDID}
15
16 export CC CFLAGS