annotate Makefile @ 136:59680a727e9d

Improve previous. Just in case we ever crash and reach cleanup() while processing an -include foo option, take the array entry for it out of the array to make sure it doesn't get freed twice. This case shouldn't be reachable, but it's better to be safe.
author David A. Holland
date Tue, 09 Jul 2013 13:38:43 -0400
parents 36dd4701e0ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
1 # $NetBSD$
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
2
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
3 PROG= tradcpp
20
40748b097655 add output.
David A. Holland
parents: 17
diff changeset
4 SRCS= main.c \
40748b097655 add output.
David A. Holland
parents: 17
diff changeset
5 files.c directive.c eval.c macro.c output.c \
40748b097655 add output.
David A. Holland
parents: 17
diff changeset
6 place.c array.c utils.c
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
7 WARNS= 5
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
8
111
36dd4701e0ba Don't force -g.
David A. Holland
parents: 25
diff changeset
9 #DBG=-g
25
18681e5ae6e4 fix some more bugs
David A. Holland
parents: 20
diff changeset
10
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
11 .include <bsd.prog.mk>