shithub: monome

ref: 4ae000bc715d98584e88082897ed9355e195b522
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