diff options
Diffstat (limited to 'usr.sbin/pcvt/vgaio/Makefile')
-rw-r--r-- | usr.sbin/pcvt/vgaio/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/vgaio/Makefile b/usr.sbin/pcvt/vgaio/Makefile index de3e661..3991d9d 100644 --- a/usr.sbin/pcvt/vgaio/Makefile +++ b/usr.sbin/pcvt/vgaio/Makefile @@ -1,4 +1,3 @@ - .if !exists(${.CURDIR}/../Makefile.inc) error: @echo @@ -13,19 +12,21 @@ error: PROG= vgaio MAN8= vgaio.${MAN8EXT} -SRCS= vgaio.y lex.l +SRCS= vgaio.c lex.c YACC= yacc #YFLAGS+= -yd # Bison #YFLAGS+= -v # verbose LFLAGS+= -I + +DPADD= ${LIBM} ${LIBY} ${LIBL} LDADD= -lm -ly -ll CFLAGS= -O2 # due to a gcc bug, it compiles only with -O2! -CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} -g +CFLAGS+= -I${.CURDIR}/obj -I${.CURDIR} -g -CLEANFILES+= y.tab.h +CLEANFILES+= lex.c lex.yy.c vgaio.c y.tab.[ch] CLEANFILES+= y.output # comment file from bison install: |