changeset 76:5196b7829be2

Changed mars.c to mars2.c to avoid obscure bugs when wrong main function is linked
author korDen
date Sun, 29 Aug 2010 13:19:02 +0400
parents cfa3747ebe4c
children b98fa8a4bf04
files win32_lib.mak
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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