summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 7416c4e..c6e0312 100644
--- a/config.mk
+++ b/config.mk
@@ -1,3 +1,5 @@
+DBGFLAGS := IPC
+
CFLAGS = \
-ffreestanding \
-nostdlib \
@@ -11,6 +13,8 @@ CFLAGS = \
-Iinclude \
-I.
+CFLAGS += $(foreach flg,$(DBGFLAGS),-DDEBUG_$(flg))
+
LDFLAGS = -nostdlib \
-T link/$(TARGET_TRIPLET).ld