diff options
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,8 +1,13 @@ -CFLAGS = -I. -L. -std=c99 -pedantic -Wall -Werror -O3 -g -CC = gcc +CFLAGS = -I. -L. -std=c99 -pedantic +CC?=gcc LIBNAME = libctemplates.a BIN_POSTFIX = .exe +ifeq ($(DEBUG),true) + CFLAGS += -g -O0 -Wall -Werror +else + CFLAGS += -03 +endif TEST_1_NAME = t/test_1$(BIN_POSTFIX) |
