comparison win32_lib.mak @ 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 8e24ef1dd139
children 43073c7c7769
comparison
equal deleted inserted replaced
75:cfa3747ebe4c 76:5196b7829be2
96 ROOTOBJS= lstring.obj array.obj gnuc.obj man.obj rmem.obj port.obj root.obj \ 96 ROOTOBJS= lstring.obj array.obj gnuc.obj man.obj rmem.obj port.obj root.obj \
97 stringtable.obj dchar.obj response.obj async.obj 97 stringtable.obj dchar.obj response.obj async.obj
98 98
99 OBJS= $(OBJ1) $(OBJ8) $(ROOTOBJS) 99 OBJS= $(OBJ1) $(OBJ8) $(ROOTOBJS)
100 100
101 SRCS= mars.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c utf.h \ 101 SRCS= mars2.c enum.c struct.c dsymbol.c import.c idgen.c impcnvgen.c utf.h \
102 utf.c entity.c identifier.c mtype.c expression.c optimize.c \ 102 utf.c entity.c identifier.c mtype.c expression.c optimize.c \
103 template.h template.c lexer.c declaration.c cast.c \ 103 template.h template.c lexer.c declaration.c cast.c \
104 cond.h cond.c link.c aggregate.h staticassert.h parse.c statement.c \ 104 cond.h cond.c link.c aggregate.h staticassert.h parse.c statement.c \
105 constfold.c version.h version.c inifile.c iasm.c staticassert.c \ 105 constfold.c version.h version.c inifile.c iasm.c staticassert.c \
106 module.c scope.c dump.c init.h init.c attrib.h attrib.c opover.c \ 106 module.c scope.c dump.c init.h init.c attrib.h attrib.c opover.c \
304 $(CC) -c $(MFLAGS) -I$(ROOT) glue 304 $(CC) -c $(MFLAGS) -I$(ROOT) glue
305 305
306 html.obj : $(CH) $(TOTALH) $C\html.h $C\html.c 306 html.obj : $(CH) $(TOTALH) $C\html.h $C\html.c
307 $(CC) -c -I$(ROOT) $(MFLAGS) $C\html 307 $(CC) -c -I$(ROOT) $(MFLAGS) $C\html
308 308
309 mars.obj : $(TOTALH) module.h mars.h mars.c 309 mars2.obj : $(TOTALH) module.h mars.h mars2.c
310 $(CC) -c $(CFLAGS) $(PREC) $* -Ae 310 $(CC) -c $(CFLAGS) $(PREC) $* -Ae
311 311
312 md5.obj : $C\md5.h $C\md5.c 312 md5.obj : $C\md5.h $C\md5.c
313 $(CC) -c $(MFLAGS) $C\md5 313 $(CC) -c $(MFLAGS) $C\md5
314 314