shithub: riscv

ref: d39d1a5303541539f61488317b220c1eb724d7d3
dir: /sys/src/cmd/audio/oggenc/mkfile/

View raw version
</$objtype/mkfile
<../config

TARGET=oggenc

CC=pcc
CFLAGS=-I../libvorbis -I../libogg

%.$O: %.c
	$CC $CFLAGS -c $stem.c

$O.%: %.$O
	$CC -o $target $prereq

all:V: $O.$TARGET

clean:V:
	rm -f *.[$OS] [$OS].$TARGET

install:V: $O.$TARGET
	cp $O.$TARGET $BIN/$TARGET