]> jfr.im git - irc/quakenet/newserv.git/blob - build.mk.in
Control now sends out a CONTROL_REGISTERED message with NULL when it is killed.
[irc/quakenet/newserv.git] / build.mk.in
1 @ifndef@ INCPATH
2 INCPATH=../
3 @endif@
4
5 CFLAGS=
6
7 @sinclude@ @includel@$(INCPATH)settings.mk@includel@
8
9 @ifndef@ BUILDID
10 BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
11 @endif@
12
13 .SUFFIXES: .so
14
15 .o.so:
16 @-ldline-@ $(LDFLAGS)
17
18 CC=gcc
19 CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)
20 CFLAGS+=-fPIC -export-dynamic