Group: comp.os.plan9 · Group Profile · Search for Environmet in comp.os.plan9
Author: bblochl
Date: Jul 24, 2008 04:34
... like this: #mk_noarch: architecture independent mkfile < /$objtype/mkfile $=O.myprog: myprog.$O $LD $CFLAGS -o $O.myprog myprog.$O myprog.$O: myprog.c myprog.h $CC myprog.c mk reads environmetal variables as macros and with the < that will be added in a mkfile. The varable objtype will be set to cputype as plan 9 starts. One may change this easily to compile to another ...
|