mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
e2a59009ba
$(...) is bad style and without -I. this program would not compile unless ${.OBJDIR} == ${.CURDIR}. Submitted by: bde
11 lines
211 B
Makefile
11 lines
211 B
Makefile
PROG= bc
|
|
|
|
BCSRCS= execute.c global.c load.c main.c number.c storage.c util.c
|
|
GENSRCS= bc.c scan.c
|
|
SRCS= ${GENSRCS} ${BCSRCS}
|
|
|
|
CFLAGS+= -D_POSIX_SOURCE -I.
|
|
CLEANFILES+= ${GENSRCS} y.tab.h
|
|
|
|
.include <bsd.prog.mk>
|