Mercurial > hg > index.cgi
diff lwlink/rules.make @ 2:7317fbe024af
Clean up insane number of compiler warnings under -Wall
author | lost@l-w.ca |
---|---|
date | Thu, 20 Jan 2011 22:39:46 -0700 |
parents | 2c24602be78f |
children | fdc11ef4115b |
line wrap: on
line diff
--- a/lwlink/rules.make Wed Jan 19 22:31:00 2011 -0700 +++ b/lwlink/rules.make Thu Jan 20 22:39:46 2011 -0700 @@ -1,8 +1,10 @@ dirname := $(dir $(lastword $(MAKEFILE_LIST))) lwlink_srcs_local := main.c lwlink.c util.c readfiles.c expr.c script.c link.c output.c map.c -lwobjdump_srcs_local := objdump.c util.c + +lwobjdump_srcs_l := objdump.c util.c lwlink_srcs := $(lwlink_srcs) $(addprefix $(dirname),$(lwlink_srcs_local)) -lwobjdump_srcs := $(lwobjdump_srcs) $(addprefix $(dirname),$(lwobjdump_srcs_local)) + +lwobjdump_srcs := $(lwobjdump_srcs) $(addprefix $(dirname),$(lwobjdump_srcs_l))