diff options
author | Benji Dial <benji6283@gmail.com> | 2021-02-16 20:38:53 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-02-16 20:38:53 -0500 |
commit | 47513bd32c256c4f35e3a8ced7d9fd7e15903530 (patch) | |
tree | cafdf75d52a954814726e07445063c41bb6599f9 /makefile | |
parent | bd7facc4b5f53481dc85a15ba123361b2758655b (diff) | |
download | portland-os-47513bd32c256c4f35e3a8ced7d9fd7e15903530.tar.gz |
terminal application with ipc, shift+pause state dumper, hello world for terminal, meminfo popup program
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -35,7 +35,8 @@ out/fs/man/%.man: src/man/%.pre mkdir -p $(shell dirname $@) python3 tools/man-gen.py $< $@ -out/fs: out/fs/bin/init out/fs/bin/highway out/fs/bin/meminfo +out/fs: out/fs/bin/init out/fs/bin/highway out/fs/bin/meminfo \ + out/fs/bin/terminal out/fs/bin/hello touch out/fs cp -r fs-skel/* out/fs/ @@ -52,7 +53,7 @@ out/kernel.bin: obj/kernel/drive.ko obj/kernel/fat.ko obj/kernel/ide.ko \ obj/kernel/panic.ko obj/kernel/pci.ko obj/kernel/elf.ko \ obj/kernel/serial.ko obj/kernel/task.ko obj/kernel/util.ko \ obj/kernel/window.ko obj/kernel/isrs.kao obj/kernel/kbd.ko \ - obj/kernel/pmap.ko obj/kernel/paging.ko + obj/kernel/pmap.ko obj/kernel/paging.ko obj/kernel/dump.ko mkdir -p out ld -T src/kernel/elf-link.ld $^ -o obj/kernel.elf objcopy -O binary obj/kernel.elf out/kernel.bin @@ -84,7 +85,7 @@ obj/knob.so: obj/knob/file.o obj/knob/format.o \ obj/knob/block.o obj/knob/key.o obj/knob/panic.o ld ${partlink} $^ -o $@ -obj/terminal.so: obj/terminal/readline.o obj/terminal/terminal.o +obj/libterm.so: obj/libterm/terminal.o obj/libterm/termtask.o obj/libterm/readline.o ld ${partlink} $^ -o $@ obj/libfont.so: obj/libfont/bdf.o obj/libfont/fonts.o obj/libfont/filist.o @@ -97,10 +98,17 @@ obj/init.elf: obj/init/init.o obj/knob.so obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@ obj/highway.elf: obj/highway/main.o obj/highway/cmds.o obj/highway/line.o \ - obj/highway/vars.o obj/knob.so obj/terminal.so \ - obj/libfont.so obj/c.rto + obj/highway/vars.o obj/knob.so obj/libterm.so \ + obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@ obj/meminfo.elf: obj/meminfo/meminfo.o obj/popups.so obj/libfont.so \ obj/knob.so obj/c.rto - ld -T src/user/runtimes/c/elf.ld $^ -o $@
\ No newline at end of file + ld -T src/user/runtimes/c/elf.ld $^ -o $@ + +obj/terminal.elf: obj/terminal/main.o obj/libfont.so obj/knob.so \ + obj/c.rto + ld -T src/user/runtimes/c/elf.ld $^ -o $@ + +obj/hello.elf: obj/hello/hello.ao + ld -T src/user/runtimes/asm/elf.ld $^ -o $@
\ No newline at end of file |