replace -W flags in CFLAGS with WARNS?=1, cleanup
This commit is contained in:
parent
f06175c4c6
commit
7e0384f892
|
@ -1,20 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.5 1997/06/23 14:48:02 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1997/10/03 05:39:03 mikel Exp $
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
SRCS= apm.c apmsubr.c
|
||||
#LDADD+= -lutil
|
||||
#DPADD+= ${LIBUTIL}
|
||||
|
||||
.PATH: ${.CURDIR}/../apmd
|
||||
|
||||
CFLAGS+= -g -O2 -Wmissing-prototypes -Wall -I${.CURDIR}/../apmd
|
||||
PROG= apm
|
||||
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
|
||||
SRCS= apm.c apmsubr.c
|
||||
.PATH: ${.CURDIR}/../apmd
|
||||
CFLAGS+=-I${.CURDIR}/../apmd
|
||||
WARNS?= 1
|
||||
LINKS= ${BINDIR}/apm ${BINDIR}/zzz
|
||||
.endif
|
||||
|
||||
MAN= apm.8
|
||||
MANSUBDIR=/i386
|
||||
MLINKS= apm.8 zzz.8
|
||||
MLINKS= apm.8 zzz.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
# $NetBSD: Makefile,v 1.3 1997/06/23 14:48:03 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 1997/10/03 05:39:05 mikel Exp $
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
SRCS= apmd.c apmsubr.c
|
||||
#LDADD+= -lutil
|
||||
#DPADD+= ${LIBUTIL}
|
||||
|
||||
CFLAGS+= -g -O2 -Wmissing-prototypes -Wall
|
||||
PROG= apmd
|
||||
SRCS= apmd.c apmsubr.c
|
||||
WARNS?= 1
|
||||
.endif
|
||||
|
||||
MAN= apmd.8
|
||||
MANSUBDIR=/i386
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
|
Loading…
Reference in New Issue