mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-21 13:18:36 +01:00
Use -ggdb3 option for more detailed debug info
This commit is contained in:
parent
0eb8272e9b
commit
297a6ef959
@ -55,13 +55,13 @@ static: flags_$(BOXES_PLATFORM) | $(OUT_DIR)
|
||||
|
||||
cov: flags_$(BOXES_PLATFORM) | $(OUT_DIR)
|
||||
$(MAKE) -C $(OUT_DIR) -f $(SRC_DIR)/Makefile BOXES_PLATFORM=$(BOXES_PLATFORM) ALL_OBJ="$(ALL_OBJ)" STRIP=false \
|
||||
CFLAGS_ADDTL="-g --coverage $(CFLAGS_ADDTL)" \
|
||||
CFLAGS_ADDTL="--coverage $(CFLAGS_ADDTL)" \
|
||||
LDFLAGS_ADDTL="--coverage $(LDFLAGS_ADDTL)" \
|
||||
flags_$(BOXES_PLATFORM) $(BOXES_EXECUTABLE_NAME)
|
||||
|
||||
debug: flags_$(BOXES_PLATFORM) | $(OUT_DIR)
|
||||
$(MAKE) -C $(OUT_DIR) -f $(SRC_DIR)/Makefile BOXES_PLATFORM=$(BOXES_PLATFORM) ALL_OBJ="$(ALL_OBJ)" STRIP=false \
|
||||
CFLAGS_ADDTL="-g $(CFLAGS_ADDTL)" flags_$(BOXES_PLATFORM) $(BOXES_EXECUTABLE_NAME)
|
||||
CFLAGS_ADDTL="-ggdb3 $(CFLAGS_ADDTL)" flags_$(BOXES_PLATFORM) $(BOXES_EXECUTABLE_NAME)
|
||||
|
||||
boxes: $(ALL_OBJ) | check_dir
|
||||
$(CC) $(LDFLAGS) $^ -o $@ -lunistring -lpcre2-32 -lncurses
|
||||
|
Loading…
Reference in New Issue
Block a user