summaryrefslogtreecommitdiffstats
path: root/sw/z80/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-08-25 10:26:21 +0200
committerNao Pross <naopross@thearcway.org>2017-08-25 10:26:21 +0200
commitf209dc3a24987419c3f7ad9fbe3fe2b4dfb16427 (patch)
treeb2a9a38bd081756c70917a64e1c830489939f4ca /sw/z80/makefile
parentnew programmer interface for linux (diff)
downloadz80uPC-f209dc3a24987419c3f7ad9fbe3fe2b4dfb16427.tar.gz
z80uPC-f209dc3a24987419c3f7ad9fbe3fe2b4dfb16427.zip
implements pio.h functions and makefile update to optimize size
- remove syscall.h, unused and not implemented - bug fix for memcmp() in string.c other changes are still partially unfinished and might not work
Diffstat (limited to 'sw/z80/makefile')
-rw-r--r--sw/z80/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/z80/makefile b/sw/z80/makefile
index 5047824..5ab7e93 100644
--- a/sw/z80/makefile
+++ b/sw/z80/makefile
@@ -20,6 +20,7 @@ CFLAGS := -mz80 \
-I kernel/include \
-I kernel/include/drivers \
-I libc/include \
+ --opt-code-size \
-DDEBUG
LDFLAGS := -mz80 --no-std-crt0 crt0.rel \
@@ -43,7 +44,7 @@ crt0.rel: crt0.s
sdasz80 -o $<
dirs:
- mkdir -p build build/kernel build/libc
+ mkdir -p build build/kernel build/libc build/kernel/drivers
dis: $(BINARY)
@# z80dasm -a -l -g 0h $< -o build/$(OSNAME).s