shithub: riscv

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