From 9273c16434316a8ab60dc78ee65a03e68031203a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 29 Apr 2022 17:38:41 +0300 Subject: continue building base for irq handling --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 95a42ad..45c8b40 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ DO != echo -n > deps.mk # this could be done better DEBUGFLAGS != [ $(RELEASE) ] \ - && echo "-flto -O2 -DNDEBUG" \ - || echo "-O0 -ggdb3 -DDEBUG" + && echo "-flto -O2 -g -DNDEBUG" \ + || echo "-O0 -g -DDEBUG" CFLAGS = -ffreestanding -nostdlib -std=c17 -Wall -Wextra -Wvla DEPFLAGS = -MT $@ -MMD -MP -MF $@.d @@ -11,6 +11,10 @@ LINTFLAGS = -fsyntax-only PREPROCESS = -E LDFLAGS = -static-libgcc -lgcc +BUILD = build +ARCH_BUILD = $(BUILD)/arch/$(ARCH) +ARCH_SOURCE = arch/$(ARCH) + all: apos.bin # default values, overwrite if/when needed -- cgit v1.3