summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-02-18 16:15:13 -0500
committerBenji Dial <benji6283@gmail.com>2021-02-18 16:15:13 -0500
commit82d74f17f40abfd30030da78606ceffedf4a9c20 (patch)
treef2710be3e9d876f5b63b18d0a83111182fd515d8 /makefile
parente427f85decc7949487228ec638993ae77fc1ca2c (diff)
downloadportland-os-82d74f17f40abfd30030da78606ceffedf4a9c20.tar.gz
(random ai) tic-tac-toe game
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index 6720199..fe212a5 100644
--- a/makefile
+++ b/makefile
@@ -37,7 +37,7 @@ out/fs/bin/%: obj/%.elf
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/dirlist
+ out/fs/bin/dirlist out/fs/bin/ttt
touch out/fs
cp -r fs-skel/* out/fs/
@@ -122,4 +122,8 @@ obj/mkpopup.elf: obj/mkpopup/main.o obj/popups.so obj/libfont.so \
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 $@
+
+obj/ttt.elf : obj/ttt/main.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