diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -31,7 +31,7 @@ DEFAULT_SUFFIX = clang-debug COMPILERS := GCC GCC_I686 GCC_FUZZ CLANG EMSCRIPTEN BUILD_TYPES := DEBUG RELEASE SANITIZERS := ASAN MSAN LSAN UBSAN -CONFIGS := NORMAL $(SANITIZERS) COV NO_RE2C_BISON NO_TESTS +CONFIGS := NORMAL $(SANITIZERS) COV NO_RE2C NO_TESTS # directory names GCC_DIR := gcc/ @@ -46,7 +46,7 @@ ASAN_DIR := asan/ MSAN_DIR := msan/ LSAN_DIR := lsan/ UBSAN_DIR := ubsan/ -NO_RE2C_BISON_DIR := no-re2c-bison/ +NO_RE2C_DIR := no-re2c/ COV_DIR := cov/ NO_TESTS_DIR := no-tests/ @@ -65,7 +65,7 @@ MSAN_FLAG := -DUSE_MSAN=ON LSAN_FLAG := -DUSE_LSAN=ON UBSAN_FLAG := -DUSE_UBSAN=ON COV_FLAG := -DCODE_COVERAGE=ON -NO_RE2C_BISON_FLAG := -DRUN_BISON=OFF -DRUN_RE2C=OFF +NO_RE2C_FLAG := -DRUN_RE2C=OFF NO_TESTS_FLAG := -DBUILD_TESTS=OFF # make target prefixes @@ -82,7 +82,7 @@ MSAN_PREFIX := -msan LSAN_PREFIX := -lsan UBSAN_PREFIX := -ubsan COV_PREFIX := -cov -NO_RE2C_BISON_PREFIX := -no-re2c-bison +NO_RE2C_PREFIX := -no-re2c NO_TESTS_PREFIX := -no-tests ifeq ($(USE_NINJA),1) @@ -140,13 +140,9 @@ clean: .PHONY: test-everything test-everything: -.PHONY: update-bison update-re2c -update-bison: src/prebuilt/wast-parser-gen.cc +.PHONY: update-re2c update-re2c: src/prebuilt/wast-lexer-gen.cc -src/prebuilt/wast-parser-gen.cc: src/wast-parser.y - bison -o $@ $< --defines=src/prebuilt/wast-parser-gen.hh --report=state - src/prebuilt/wast-lexer-gen.cc: src/wast-lexer.cc re2c -W -Werror --no-generation-date -bc8 -o $@ $< |