diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-19 20:47:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-19 20:47:09 +0000 |
commit | cf77c80b935da2a822acdc4694cc3bdbcf7021f6 (patch) | |
tree | 7a07f17d010ee4ecd4b4c1e4386b462d1da5699e /Makefile | |
parent | 65125c72763f1e03e0854d1313cc8b4c8541e92b (diff) |
FreeBSD's util.h is libutil.h.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |