diff options
author | Nao Pross <naopross@thearcway.org> | 2017-08-25 10:26:21 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-08-25 10:26:21 +0200 |
commit | f209dc3a24987419c3f7ad9fbe3fe2b4dfb16427 (patch) | |
tree | b2a9a38bd081756c70917a64e1c830489939f4ca /sw/z80/makefile | |
parent | new programmer interface for linux (diff) | |
download | z80uPC-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 '')
-rw-r--r-- | sw/z80/makefile | 3 |
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 |