Added support in winebuild for resolving function imports (-sym option).
Added -L option for locating imported dlls.
Changed generated exe init code to use __wine_get_main_args.

diff --git a/Makefile.in b/Makefile.in
index d671706..e483b92 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -99,7 +99,9 @@
 
 # Dependencies between directories
 
-$(EMUOBJS) $(DLLOBJS) $(PROGRAMS): tools
+$(DLLOBJS) $(PROGRAMS): tools
+
+$(EMUOBJS): tools dlls
 
 $(LIBPROGRAMS): tools dlls libwine.$(LIBEXT) libwine_unicode.$(LIBEXT)