summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/makefile b/makefile
index ddf6e7a..bb8e2dc 100644
--- a/makefile
+++ b/makefile
@@ -28,8 +28,9 @@ out/fs/bin/%: obj/%.elf
mkdir -p $(shell dirname $@)
objcopy -S $< $@
-out/fs: out/fs/bin/init out/fs/bin/meminfo out/fs/bin/highway \
- out/fs/bin/hello out/fs/bin/dumptext out/fs/bin/dumphex
+out/fs: out/fs/bin/init out/fs/bin/meminfo out/fs/bin/highway \
+ out/fs/bin/hello out/fs/bin/dumptext out/fs/bin/dumphex \
+ out/fs/bin/dirinfo
mkdir -p out/fs
cp -r fs-skel/* out/fs/
@@ -85,4 +86,7 @@ obj/dumptext.elf: obj/dumptext/dumptext.o obj/knob.so
ld -T src/user/elf.ld obj/dumptext/* obj/knob.so -o obj/dumptext.elf
obj/dumphex.elf: obj/dumphex/dumphex.o obj/knob.so
- ld -T src/user/elf.ld obj/dumphex/* obj/knob.so -o obj/dumphex.elf \ No newline at end of file
+ ld -T src/user/elf.ld obj/dumphex/* obj/knob.so -o obj/dumphex.elf
+
+obj/dirinfo.elf: obj/dirinfo/dirinfo.o obj/knob.so
+ ld -T src/user/elf.ld obj/dirinfo/* obj/knob.so -o obj/dirinfo.elf \ No newline at end of file