mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
Actually make it so this Makefile can build grot.
This commit is contained in:
parent
612740bdcf
commit
c98c98a822
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62872
@ -4,7 +4,14 @@
|
|||||||
# internal assertion checking). Take -Dconst= out for an ANSI compiler.
|
# internal assertion checking). Take -Dconst= out for an ANSI compiler.
|
||||||
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's
|
# Do not take -DPOSIX_MISTAKE out. REGCFLAGS isn't important to you (it's
|
||||||
# for my use in some special contexts).
|
# for my use in some special contexts).
|
||||||
CFLAGS = -I. -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
|
|
||||||
|
PATHS= ${.CURDIR}/.. ${.CURDIR}/../../locale ${.CURDIR}/../../../../include
|
||||||
|
.PATH: ${PATHS}
|
||||||
|
|
||||||
|
CFLAGS+= -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
|
||||||
|
.for incpath in ${PATHS}
|
||||||
|
CFLAGS+= -I${incpath}
|
||||||
|
.endfor
|
||||||
|
|
||||||
# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want
|
# If you have an ANSI compiler, take -o out of MKHFLAGS. If you want
|
||||||
# the Berkeley __P macro, put -b in.
|
# the Berkeley __P macro, put -b in.
|
||||||
|
Loading…
Reference in New Issue
Block a user