Switch to gcc41 as default compiler.
[dragonfly.git] / usr.sbin / apmd / Makefile
blob1b70a2c191e9777f102fdc3ebac3c77c70a01b67
1 # $FreeBSD: src/usr.sbin/apmd/Makefile,v 1.2.2.2 2001/04/25 12:09:18 ru Exp $
2 # $DragonFly: src/usr.sbin/apmd/Makefile,v 1.3 2005/08/28 20:55:07 liamfoy Exp $
4 PROG= apmd
5 SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
7 DPADD= ${LIBL} ${LIBUTIL}
8 LDADD= -ll -lutil
10 MAN= apmd.8
12 YFLAGS+=-v
13 CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
14 # for debug:
15 #CFLAGS+= -g -DDEBUG
17 CLEANFILES= y.output
19 test:
20 ./apmd -d -f etc/apmd.conf -n
22 .include <bsd.prog.mk>