diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 21:18:13 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 21:56:59 +0100 |
commit | 7ffe3e4bc0c43707265697fc3ab6faaf6d33c391 (patch) | |
tree | 9ccc56855be7d8af743b0627eadf7c682509b9de | |
parent | 7eb36e43b3430ac089ae824b1d4b399a169e3cc4 (diff) | |
download | fmk-7ffe3e4bc0c43707265697fc3ab6faaf6d33c391.tar.gz fmk-7ffe3e4bc0c43707265697fc3ab6faaf6d33c391.tar.xz fmk-7ffe3e4bc0c43707265697fc3ab6faaf6d33c391.zip |
Makefile: debug define
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,10 @@ CPPFLAGS += $(mk20dx256_CPPFLAGS) %.bin: % $(OBJCOPY) -O binary $< $@ +debug: all +debug: CFLAGS += -Og -ggdb +debug: LDFLAGS += -Og -ggdb + all: fmk.bin fmk: $(OBJ) |