Reorganized source tree. Started using autotools.

This commit is contained in:
2020-07-17 10:03:28 -05:00
parent 36c88daa87
commit 0bb65f2d94
28 changed files with 142 additions and 149 deletions

8
src/Makefile.am Normal file
View File

@@ -0,0 +1,8 @@
SUBDIRS = interrupts mmgr
noinst_PROGRAMS = quark-kernel
quark_kernel_SOURCES = quarkkernel.cpp tty.cpp systeminfo.cpp util.cpp entry.S pio.S multiboot2header.S
quark_kernel_LDADD = -lgcc mmgr/libmmgr.a interrupts/libinterrupts.a
quark_kernel_CPPFLAGS = -ffreestanding -O0 -Wall -fno-exceptions -fno-rtti -ggdb
quark_kernel_LDFLAGS = -T linker.ld -nostdlib
quark_kernel_DEPENDENCIES = linker.ld