FreeBSD's util.h is libutil.h.

This commit is contained in:
Nicholas Marriott
2007-10-19 20:47:09 +00:00
parent 65125c7276
commit cf77c80b93
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.28 2007-10-19 11:10:34 nicm Exp $
# $Id: Makefile,v 1.29 2007-10-19 20:47:09 nicm Exp $
.SUFFIXES: .c .o .y .h
.PHONY: clean
@ -55,6 +55,11 @@ LDFLAGS+= -pg
.endif
LIBS+= -lutil -lncurses
# FreeBSD
.if ${OS} == "FreeBSD"
CFLAGS+= -DUSE_LIBUTIL_H
.endif
OBJS= ${SRCS:S/.c/.o/:S/.y/.o/}
CLEANFILES= ${PROG} *.o .depend *~ ${PROG}.core *.log