annotate Makefile @ 135:eaae8014a94a

Don't assert and leak memory if failing during argument collection. Once you have a -D option or a -include foo option, you need to clean up the arrays those are accumulated in if you die before they're collected and handled.
author David A. Holland
date Tue, 09 Jul 2013 13:35:40 -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>