# HG changeset patch # User korDen # Date 1283073542 -14400 # Node ID 5196b7829be286dae383e57dcb69a664fc971b9e # Parent cfa3747ebe4cba16e39e335e5eac2129c2cec435 Changed mars.c to mars2.c to avoid obscure bugs when wrong main function is linked diff -r cfa3747ebe4c -r 5196b7829be2 win32_lib.mak --- a/win32_lib.mak Sun Aug 29 12:59:00 2010 +0400 +++ b/win32_lib.mak Sun Aug 29 13:19:02 2010 +0400 @@ -98,7 +98,7 @@ OBJS= $(OBJ1) $(OBJ8) $(ROOTOBJS) -SRCS= mars.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c utf.h \ +SRCS= mars2.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c utf.h \ utf.c entity.c identifier.c mtype.c expression.c optimize.c \ template.h template.c lexer.c declaration.c cast.c \ cond.h cond.c link.c aggregate.h staticassert.h parse.c statement.c \ @@ -306,7 +306,7 @@ html.obj : $(CH) $(TOTALH) $C\html.h $C\html.c $(CC) -c -I$(ROOT) $(MFLAGS) $C\html -mars.obj : $(TOTALH) module.h mars.h mars.c +mars2.obj : $(TOTALH) module.h mars.h mars2.c $(CC) -c $(CFLAGS) $(PREC) $* -Ae md5.obj : $C\md5.h $C\md5.c