shithub: plumbreport

ref: 5a6a10aba73281e44d2553cfcbce7ff40a581e00
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 bin/* $BIN

uninstall:V:
	rm -f $BIN/$TARGET
	rm -f $BIN/`{cd bin; ls}

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

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

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