diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-29 17:38:41 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-29 17:38:41 +0300 |
| commit | 9273c16434316a8ab60dc78ee65a03e68031203a (patch) | |
| tree | 41754de4b7c459fc07e20189948c94a0e2cab966 /Makefile | |
| parent | 105f3d0dab75f669d1fc404c06b73289b343591c (diff) | |
| download | kmi-9273c16434316a8ab60dc78ee65a03e68031203a.tar.gz kmi-9273c16434316a8ab60dc78ee65a03e68031203a.zip | |
continue building base for irq handling
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
