summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
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