diff options
author | rgl <devnull@localhost> | 2020-02-03 22:42:28 +0100 |
---|---|---|
committer | rgl <devnull@localhost> | 2020-02-03 22:42:28 +0100 |
commit | 0373255087377122eeb10e006ffb8aa1b57e611c (patch) | |
tree | 33a4fafa4996fc2efa205b2973622c3fbd27f368 /mkfile | |
download | 3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.gz 3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.bz2 3dee-0373255087377122eeb10e006ffb8aa1b57e611c.zip |
after a year or so of work, i dare create a proper repo.
Diffstat (limited to 'mkfile')
-rw-r--r-- | mkfile | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,33 @@ +</$objtype/mkfile + +BIN=$home/$objtype/bin +TARG=3d +OFILES=\ + main.$O\ + +HFILES=geometry.h graphics.h obj.h dat.h fns.h + +LIB=\ + libgeometry.a$O\ + libgraphics.a$O\ + libobj.a$O + +</sys/src/cmd/mkone + +libgeometry.a$O: + cd libgeometry + mk install + +libgraphics.a$O: + cd libgraphics + mk install + +libobj.a$O: + cd libobj + mk install + +clean nuke:V: + rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG + @{cd libgeometry; mk $target} + @{cd libgraphics; mk $target} + @{cd libobj; mk $target} |