Fix CFLAGS+=-DDEBUG by using the right header for libutil (libutil.h, not
util.h)
This commit is contained in:
parent
317fdbc621
commit
d370dc47a1
@ -7,13 +7,11 @@ MAN= rcorder.8
|
||||
|
||||
LIBADD= util
|
||||
|
||||
# XXX hack for make's hash.[ch]
|
||||
CFLAGS+= -DORDER -I.
|
||||
CFLAGS+= -DORDER
|
||||
|
||||
SRCS+= util.h
|
||||
CLEANFILES+= util.h
|
||||
|
||||
util.h:
|
||||
ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET}
|
||||
#CFLAGS+= -DDEBUG
|
||||
.if ${CFLAGS:M*-DDEBUG}
|
||||
CFLAGS+= -I${.CURDIR}/../../usr.bin/make
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -42,10 +42,10 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
#include <libutil.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <util.h>
|
||||
|
||||
#include "ealloc.h"
|
||||
#include "sprite.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user