]> jfr.im git - irc/quakenet/newserv.git/blobdiff - build.mk.in
fix indentation
[irc/quakenet/newserv.git] / build.mk.in
index 7db103d4cf5bd59dc229196b8e46c91c9207e372..f9b3cefe632c11d17c1fb77986787207bef3fe60 100644 (file)
@@ -3,6 +3,8 @@ INCPATH=../
 @endif@
 
 CFLAGS=
+CC=gcc
+LEX=flex
 
 @sinclude@ @includel@$(INCPATH)settings.mk@includel@
 
@@ -10,11 +12,14 @@ CFLAGS=
 BUILDID @shell@ (hg id || echo "unknown") | sed -e "s/+ /-/;s/ /-/" @shellend@
 @endif@
 
-.SUFFIXES: .so
+.SUFFIXES: .so .y .l
 
 .o.so:
        @-ldline-@ $(LDFLAGS)
 
-CC=gcc
+.y.c:  ;
+
+.l.c:  ;
+
 CFLAGS+=-Wall -g -finline-functions -funroll-loops -std=c99 -I./ -DBUILDID=$(BUILDID)
 CFLAGS+=-fPIC -export-dynamic