17 BUILDID = $(shell (hg id || echo "unknown") | sed -e "s/[()]//g;s/+ /+/g;s/ /-/g" )
19 MFLAGS+=BUILDID=$(BUILDID)
25 -include $(wildcard *.d)
28 $(CC) $(CFLAGS) -MMD -c -o $@ $<
31 $(CC) -nostartfiles -Wl,--export-dynamic -shared -o $@ $^ $(LDFLAGS)
37 CFLAGS+=-I./ -DBUILDID=$(BUILDID) -fPIC
38 CFLAGS+=-Wall -g -finline-functions -funroll-loops -Werror=format-security