shithub: riscv

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