CFLAGS += -DNOTRACK
endif
- OBJ_D = util.o code.o ast.o ir.o conout.o ftepp.o opts.o fs.o utf8.o correct.o diag.o
- OBJ_P = util.o fs.o conout.o opts.o pak.o
- OBJ_T = test.o util.o conout.o fs.o
- OBJ_C = main.o lexer.o parser.o fs.o
- OBJ_X = exec-standalone.o util.o conout.o fs.o
-OBJ_D = util.o code.o ast.o ir.o conout.o ftepp.o opts.o fs.o utf8.o correct.o stat.o
++OBJ_D = util.o code.o ast.o ir.o conout.o ftepp.o opts.o fs.o utf8.o correct.o stat.o diag.o
+ OBJ_P = util.o fs.o conout.o opts.o pak.o stat.o
+ OBJ_T = test.o util.o conout.o fs.o stat.o
+ OBJ_C = main.o lexer.o parser.o fs.o stat.o
+ OBJ_X = exec-standalone.o util.o conout.o fs.o stat.o
#we have duplicate object files when dealing with creating a simple list
#for dependinces. To combat this we use some clever recrusive-make to
fs.o: gmqcc.h opts.def
utf8.o: gmqcc.h opts.def
correct.o: gmqcc.h opts.def
- diag.o: gmqcc.h opts.def
+ stat.o: gmqcc.h opts.def
++diag.o: gmqcc.h opts.def lexer.h
pak.o: gmqcc.h opts.def
test.o: gmqcc.h opts.def
main.o: gmqcc.h opts.def lexer.h
OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_GMQCC;
+ OPTS_OPTION_BOOL(OPTION_DIAGNOSTICS) = true;
+ OPTS_OPTION_BOOL(OPTION_STATISTICS) = true;
} else if (!strcmp(argarg, "qcc")) {
}
}
}
- {
- #define FOO "\xD\xE\xA\xD\xB\xE\xE\xF\xD\xE\xA\xD\xB\xE\xE\xF"
- char *foo = util_strdup(FOO FOO FOO FOO "hello world!");
- (void)foo;
- }
-
cleanup:
util_debug("COM", "cleaning ...\n");
if (ftepp)
GMQCC_DEFINE_FLAG(MAX_ARRAY_SIZE)
GMQCC_DEFINE_FLAG(ADD_INFO)
GMQCC_DEFINE_FLAG(CORRECTION)
+ GMQCC_DEFINE_FLAG(DIAGNOSTICS)
+ GMQCC_DEFINE_FLAG(STATISTICS)
#endif
/* some cleanup so we don't have to */