]>
Commit | Line | Data |
---|---|---|
16fc8bc1 | 1 | @ifndef@ INCPATH |
866f59c9 | 2 | INCPATH=../ |
16fc8bc1 | 3 | @endif@ |
8b485e91 | 4 | |
4bad6412 | 5 | CFLAGS= |
773391f4 | 6 | CC=gcc |
91bf3d57 | 7 | LEX=flex |
4bad6412 | 8 | |
866f59c9 CP |
9 | @sinclude@ @includel@$(INCPATH)settings.mk@includel@ |
10 | ||
16fc8bc1 | 11 | @ifndef@ BUILDID |
e147b4a2 | 12 | BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@ |
16fc8bc1 | 13 | @endif@ |
8b485e91 | 14 | |
ffc11f03 | 15 | .SUFFIXES: .so .y .l |
4bad6412 CP |
16 | |
17 | .o.so: | |
45cb2a9d | 18 | @-ldline-@ $(LDFLAGS) |
4bad6412 | 19 | |
ffc11f03 CP |
20 | .y.c: ; |
21 | ||
22 | .l.c: ; | |
23 | ||
4bad6412 CP |
24 | CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID) |
25 | CFLAGS+=-fPIC -export-dynamic |