shithub: monome

ref: ce0c4507d6c7e6460ed098e8a364194ea69b0e72
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