]> jfr.im git - irc/quakenet/newserv.git/blame_incremental - build.mk.in
searching for changes
[irc/quakenet/newserv.git] / build.mk.in
... / ...
CommitLineData
1@ifndef@ INCPATH
2INCPATH=../
3@endif@
4
5CFLAGS=
6CC=gcc
7LEX=flex
8
9@sinclude@ @includel@$(INCPATH)settings.mk@includel@
10
11@ifndef@ BUILDID
12BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
13@endif@
14
15.SUFFIXES: .so .y .l
16
17.o.so:
18 @-ldline-@ $(LDFLAGS)
19
20.y.c: ;
21
22.l.c: ;
23
24CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)
25CFLAGS+=-fPIC -export-dynamic