shithub: lu9-p9

Download patch

ref: 926048e140de090693c7d1699432881657c93e7b
parent: 5168236aa96a83b623a142c0d0e365c7ff0d96e6
author: kvik <[email protected]>
date: Thu Apr 22 18:49:30 EDT 2021

mkfile: specify dependencies

--- a/mkfile
+++ b/mkfile
@@ -15,6 +15,9 @@
 obj/%.$O: obj/ %/%.c
 	$CC $CFLAGS -o $target $stem/$stem.c
 
+obj/base.$O: base/common.c `{ls base/*.c}
+obj/note.$O: base/common.c `{ls note/*.c}
+
 $LIB: ${MOD:%=obj/%.$O}
 	ar cr $target $prereq