shithub: riscv

ref: d32578073676ce90769c378cbd5c61db22c1b49e
dir: /sys/src/cmd/audio/flacdec/mkfile/

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

TARGET=flacdec

CC=pcc
CFLAGS=-I. -I../libFLAC -I../libFLAC/FLAC -D_POSIX_SOURCE -D_BSD_EXTENSION -DPlan9

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

$O.%: %.$O ../libFLAC/libFLAC.a$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