diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,12 +15,12 @@ BIN := $(BUILD_DIR)/$(TARGET) | |||
15 | 15 | ||
16 | # Compiler and linker configuration. | 16 | # Compiler and linker configuration. |
17 | CC := cc | 17 | CC := cc |
18 | CFLAGS := -Wall -Wextra -pedantic -DBIN_NAME=\"$(TARGET)\" -static | 18 | CFLAGS := -Wall -Wextra -pedantic -DBIN_NAME=\"$(TARGET)\" |
19 | CFLAGS += $(INC_FLAGS) | 19 | CFLAGS += $(INC_FLAGS) |
20 | LDFLAGS := | 20 | LDFLAGS := |
21 | LDLIBS := | 21 | LDLIBS := |
22 | RELEASE_CFLAGS := -DNDEBUG -O2 | 22 | RELEASE_CFLAGS := -DNDEBUG -O2 -static |
23 | DEBUG_CFLAGS := -DDEBUG -O2 -g | 23 | DEBUG_CFLAGS := -DDEBUG -O0 -g -fsanitize=address |
24 | 24 | ||
25 | .PHONY: build tests run clean | 25 | .PHONY: build tests run clean |
26 | 26 | ||