From 79973061600a2af480c4f8ec1e1e71846985b653 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 17 Feb 2021 17:59:05 -0500 Subject: dirlist program, making fat refuse to list file as directory --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 68690e6..6720199 100644 --- a/makefile +++ b/makefile @@ -36,7 +36,8 @@ out/fs/bin/%: obj/%.elf # python3 tools/man-gen.py $< $@ out/fs: out/fs/bin/init out/fs/bin/highway out/fs/bin/meminfo \ - out/fs/bin/terminal out/fs/bin/hello out/fs/bin/mkpopup + out/fs/bin/terminal out/fs/bin/hello out/fs/bin/mkpopup \ + out/fs/bin/dirlist touch out/fs cp -r fs-skel/* out/fs/ @@ -117,4 +118,8 @@ obj/hello.elf: obj/hello/hello.ao obj/mkpopup.elf: obj/mkpopup/main.o obj/popups.so obj/libfont.so \ obj/knob.so obj/c.rto + ld -T src/user/runtimes/c/elf.ld $^ -o $@ + +obj/dirlist.elf: obj/dirlist/main.o obj/libterm.so obj/knob.so \ + obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@ \ No newline at end of file -- cgit v1.2.3