From 216450da525a3ae68a548a5c53768076ddc4d11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Thu, 26 Apr 2018 14:16:32 +0200 Subject: [PATCH] Enable debug-safe optimizations. Also ggdb for tests. --- src/Makefile | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 17a4d30..c599e38 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,7 +7,7 @@ LIB_STATIC=librk65c02.a LDFLAGS_SO=-shared #LDFLAGS_CLI=-lreadline -CFLAGS=-Wall -fpic -ggdb +CFLAGS=-Wall -fpic -ggdb -Og #CFLAGS=-Wall -fpic -ggdb -I/opt/local/include/uthash 65C02ISA=65c02isa diff --git a/test/Makefile b/test/Makefile index 1c669c7..90856b9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-Wall -I../src -g +CFLAGS=-Wall -I../src -ggdb -Og LDFLAGS=-latf-c -lgc RK6502LIB=../src/librk65c02.a VASM=vasm6502_std