diff options
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 |
