From adc42254a7449cd9d8510ba45ba4d0ad41c2a4ae Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 15 May 2000 14:45:28 +0000 Subject: [PATCH] Don't forget to clean y.output. Most files generated by yacc are cleaned automatically, but not this one. Fixed some style bugs. --- usr.sbin/apmd/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index 92dc1a246980..1d27dc0afa3f 100644 --- a/usr.sbin/apmd/Makefile +++ b/usr.sbin/apmd/Makefile @@ -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