diff options
author | rodri <rgl@antares-labs.eu> | 2022-06-22 21:20:41 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2022-06-22 21:20:41 +0000 |
commit | 667fd01d924ecc99c1579e155b39cd12fd201f4b (patch) | |
tree | 618a253270065059dc7154da09d94e8917318d08 /mkfile | |
download | tinyrend-667fd01d924ecc99c1579e155b39cd12fd201f4b.tar.gz tinyrend-667fd01d924ecc99c1579e155b39cd12fd201f4b.tar.bz2 tinyrend-667fd01d924ecc99c1579e155b39cd12fd201f4b.zip |
Lesson 0: Bresenham's Line Drawing Algorithm—First attempt
Diffstat (limited to 'mkfile')
-rw-r--r-- | mkfile | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +</$objtype/mkfile + +BIN=/$objtype/bin/musw +TARG=tinyrend +OFILES=\ + main.$O\ + +HFILES=\ + ./libgeometry/geometry.h\ + +LIB=\ + ./libgeometry/libgeometry.a$O\ + +CFLAGS=$CFLAGS + +</sys/src/cmd/mkone + +./libgeometry/libgeometry.a$O: + cd ./libgeometry + mk install + +clean nuke:V: + rm -f *.[$OS] [$OS].??* $TARG + @{cd ./libgeometry; mk $target} |