From dc67e8a4751289acc8598bbfcf6d5a0eb7e0d674 Mon Sep 17 00:00:00 2001 From: Luke Gruber Date: Fri, 13 Dec 2024 17:26:04 -0500 Subject: [PATCH] add optimizations back to test build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd457e1..dd03def 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ TEST_SRCS=debug.c memory.c chunk.c value.c scanner.c compiler.c vm.c object.c TEST_FILES=test/test_object.c test/test_nodes.c test/test_compiler.c test/test_vm.c test/test_gc.c test/test_examples.c test/test_regex.c DEBUG_FLAGS=-O2 -g -rdynamic GPROF_FLAGS=-O3 -pg -DNDEBUG -TEST_FLAGS=-O0 -g -rdynamic -Itest/include -I. -DLOX_TEST +TEST_FLAGS=-O2 -g -rdynamic -Itest/include -I. -DLOX_TEST RELEASE_FLAGS=-O3 -DNDEBUG -Wno-unused-function -Wno-unused-variable BUILD_DIR=bin BUILD_DEBUG_DIR:=${BUILD_DIR}/debug