Make a main program that doesn't spam debugging info.

This commit is contained in:
Stephen Dolan committed 2012-09-10 10:23:15 +01:00
1 parent e258d20ba2
commit c2593dc417
3 files changed
+23 -12

No files matched your search

+4 -1
View File
@@ -22,7 +22,10 @@ parser.tab.h: parser.tab.c
jv_unicode.c: jv_utf8_tables.h
parsertest: parser.tab.c lexer.yy.c main.c opcode.c bytecode.c compile.c execute.c builtin.c jv.c jv_parse.c jv_print.c jv_dtoa.c jv_unicode.c
$(CC) -o $@ $^
$(CC) -DJQ_DEBUG=1 -o $@ $^
jq: parser.tab.c lexer.yy.c main.c opcode.c bytecode.c compile.c execute.c builtin.c jv.c jv_parse.c jv_print.c jv_dtoa.c jv_unicode.c
$(CC) -DJQ_DEBUG=0 -o $@ $^
jv_test: jv_test.c jv.c jv_print.c jv_dtoa.c
$(CC) -DNO_JANSSON -o $@ $^