summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f5ff1d3..ca09d69 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,10 @@ CFLAGS:=-O2 -flto -std=gnu99 $(shell pkg-config --cflags-only-I $(LIBS)) -Wretu
LDFLAGS:=-O2 -flto -lm $(shell pkg-config --libs $(LIBS))
endif
+ifdef Z80_LOG_ADDRESS
+CFLAGS+= -DZ80_LOG_ADDRESS
+endif
+
ifdef PROFILE
CFLAGS+= -pg
LDFLAGS+= -pg