shithub: plumbreport

ref: 9ac91be1228b5c9e54ba90e08fdb26164e1c09fc
dir: /mkfile/

View raw version
</$objtype/mkfile

BIN=/$objtype/bin

TARGET=bin/eatplumb
OFILES=obj/eatplumb.$O

stub:VQ:
	mkdir -p bin obj
	mk all

all:V: $TARGET

install:V: all
	cp $TARGET $BIN

uninstall:V:
	rm -f $BIN/$TARGET

clean:V:
	rm -f $TARGET obj/*

$TARGET: $OFILES
	$LD $LDFLAGS -o $target $prereq

obj/%.$O: %.c
	$CC $CFLAGS -o $target $stem.c