29,12 → 29,11 |
## Setup toolchain |
# |
|
-include ../../../Makefile.config |
|
LIBC_PREFIX = ../../lib/libc |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |
|
include $(LIBC_PREFIX)/Makefile.toolchain |
|
CFLAGS += -I. -I../kbd/include -I../fb |
|
LIBS = $(LIBC_PREFIX)/libc.a |
74,7 → 73,7 |
$(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend |
|
$(OUTPUT): $(OBJECTS) $(LIBS) |
$(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
$(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map |
|
disasm: $(OUTPUT).disasm |
|