Don't forget to clean y.output. Most files generated by yacc are cleaned

automatically, but not this one.

Fixed some style bugs.
This commit is contained in:
Bruce Evans 2000-05-15 14:45:28 +00:00
parent 88287e1a2d
commit adc42254a7

View File

@ -1,14 +1,10 @@
# Makefile for apmd
# $FreeBSD$
PROG= apmd
SHSRCS= apmd.c apmdparse.y apmdlex.l
GENSRCS=
GENHDRS= y.tab.h
SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
DPADD+= ${LIBL}
LDADD+= -ll
DPADD= ${LIBL}
LDADD= -ll
MAN8= apmd.8
@ -17,6 +13,8 @@ CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
# for debug:
#CFLAGS+= -g -DDEBUG
CLEANFILES= y.output
test:
./apmd -d -f etc/apmd.conf -n