shithub: riscv

ref: bf7e8777f391caa82705a0b64709a95672d2632c
dir: /sys/src/cmd/audio/oggdec/mkfile/

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

TARGET=oggdec

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

%.$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

test:VQ:
	# nothing