summaryrefslogtreecommitdiff
path: root/kernel/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-31 19:53:02 -0400
committerBenji Dial <benji@benjidial.net>2024-07-31 19:53:02 -0400
commitcc9a1811fd93971ae8c0d3bdc8d60102ce58556e (patch)
tree9430cab5514959dc6c5b2122040aab1453debf51 /kernel/makefile
parente6915fb6dd715e39e37702a6d69c220c0f1798bf (diff)
downloadhilbert-os-cc9a1811fd93971ae8c0d3bdc8d60102ce58556e.tar.gz
redo build system
Diffstat (limited to 'kernel/makefile')
-rw-r--r--kernel/makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/kernel/makefile b/kernel/makefile
deleted file mode 100644
index 608e67e..0000000
--- a/kernel/makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-SOURCES = \
- storage/bd/memory.cpp storage/fs/tarfs.cpp application.asm application.cpp \
- framebuffer.cpp interrupts.asm interrupts.cpp allocator.cpp storage.cpp \
- syscall.cpp utility.cpp paging.asm paging.cpp entry.cpp input.cpp panic.cpp \
- vfile.cpp serial.asm app-memory.cpp load-app.cpp timer.cpp timer.asm
-
-build/%.asm.o: source/%.asm
- @mkdir -p $(@D)
- $(HILBERT_NASM) $^ -o $@
-
-build/%.cpp.o: source/%.cpp
- @mkdir -p $(@D)
- $(HILBERT_CC) -c -ffreestanding -fno-exceptions -fno-rtti \
- -mcmodel=kernel -I ${LIMINE_DIR} -I ${MINTSUKI_HEADERS_DIR} $^ -o $@
-
-build/kernel.elf: $(SOURCES:%=build/%.o)
- $(HILBERT_LD) -T link.ld $^ -o $@
-
-clean:
- rm -rf build