shithub: monome

ref: 525191c99f034ed807d670fabf634e36d36937d6
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=`{ls *.c | sed 's,\.c$,,'}
PROGS=${TARG:%=%}

all:V: $PROGS

%: %.$O
	$O^l -o $target $stem.$O

%.$O: %.c
	$O^c $stem.c

clean:V:
	rm -f *.$O $PROGS