]>
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 CP |
9 | @ifndef@ BUILDID |
10 | BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/" @shellend@ | |
11 | @endif@ | |
8b485e91 | 12 | |
4bad6412 CP |
13 | .SUFFIXES: .so |
14 | ||
15 | .o.so: | |
16 | ld -shared -Bdynamic $(LDFLAGS) -o $@ @srcs@ | |
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 |