summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-13 22:59:42 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-13 22:59:42 -0400
commit20853582d5385d12421433d21910e783caa00764 (patch)
tree446bbd18353cfe0897d293a822458b7960a3645e /makefile
parent44d29a33df81ac07163d5146a9e43a0c4fb80af0 (diff)
downloadportland-os-20853582d5385d12421433d21910e783caa00764.tar.gz
dirinfo command
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