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