]> jfr.im git - irc/quakenet/newserv.git/blobdiff - build.mk.in
Add iterators to newsearch, along with an example channel iterator function.
[irc/quakenet/newserv.git] / build.mk.in
index 1a9000b81ec7a0e7002c0b0efe62f9e7150d6721..7db103d4cf5bd59dc229196b8e46c91c9207e372 100644 (file)
@@ -7,13 +7,13 @@ CFLAGS=
 @sinclude@ @includel@$(INCPATH)settings.mk@includel@
 
 @ifndef@ BUILDID
-BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/" @shellend@
+BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
 @endif@
 
 .SUFFIXES: .so
 
 .o.so:
-       ld -shared -Bdynamic $(LDFLAGS) -o $@ @srcs@
+       @-ldline-@ $(LDFLAGS)
 
 CC=gcc
 CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)