shithub: aubio

ref: d8c21a32aec0fd7e13fb8e45ee5f630dc7bce1dd
dir: /src/mkfile/

View raw version
</$objtype/mkfile

LIB=libaubio.a$O
CFLAGS=$CFLAGS -DHAVE_CONFIG_H=1 -DHAVE_AUBIO_DOUBLE=1 -D__plan9__ -p -Iplan9 -I. -I/sys/include/npe

HFILES=\
	aubio.h\
	aubio_priv.h\
	cvec.h\
	effects/pitchshift.h\
	effects/timestretch.h\
	fmat.h\
	fvec.h\
	io/audio_unit.h\
	io/ioutils.h\
	io/sink.h\
	io/sink_wavwrite.h\
	io/source.h\
	io/source_apple_audio.h\
	io/source_avcodec.h\
	io/source_sndfile.h\
	io/source_wavread.h\
	lvec.h\
	mathutils.h\
	musicutils.h\
	notes/notes.h\
	onset/onset.h\
	onset/peakpicker.h\
	pitch/pitch.h\
	pitch/pitchfcomb.h\
	pitch/pitchmcomb.h\
	pitch/pitchschmitt.h\
	pitch/pitchspecacf.h\
	pitch/pitchyin.h\
	pitch/pitchyinfast.h\
	pitch/pitchyinfft.h\
	spectral/awhitening.h\
	spectral/dct.h\
	spectral/fft.h\
	spectral/filterbank.h\
	spectral/filterbank_mel.h\
	spectral/mfcc.h\
	spectral/phasevoc.h\
	spectral/specdesc.h\
	spectral/tss.h\
	synth/sampler.h\
	synth/wavetable.h\
	tempo/beattracking.h\
	tempo/tempo.h\
	temporal/a_weighting.h\
	temporal/biquad.h\
	temporal/c_weighting.h\
	temporal/filter.h\
	temporal/resampler.h\
	types.h\
	utils/hist.h\
	utils/log.h\
	utils/parameter.h\
	utils/scale.h\
	vecutils.h\

OFILES=\
	cvec.$O\
	effects/pitchshift_dummy.$O\
	effects/rubberband_utils.$O\
	effects/timestretch_dummy.$O\
	fmat.$O\
	fvec.$O\
	io/audio_unit.$O\
	io/ioutils.$O\
	io/sink.$O\
	io/sink_wavwrite.$O\
	io/source.$O\
	io/source_apple_audio.$O\
	io/source_avcodec.$O\
	io/source_sndfile.$O\
	io/source_wavread.$O\
	io/utils_apple_audio.$O\
	lvec.$O\
	mathutils.$O\
	musicutils.$O\
	notes/notes.$O\
	onset/onset.$O\
	onset/peakpicker.$O\
	pitch/pitch.$O\
	pitch/pitchfcomb.$O\
	pitch/pitchmcomb.$O\
	pitch/pitchschmitt.$O\
	pitch/pitchspecacf.$O\
	pitch/pitchyin.$O\
	pitch/pitchyinfast.$O\
	pitch/pitchyinfft.$O\
	spectral/awhitening.$O\
	spectral/dct.$O\
	spectral/dct_accelerate.$O\
	spectral/dct_fftw.$O\
	spectral/dct_ipp.$O\
	spectral/dct_ooura.$O\
	spectral/dct_plain.$O\
	spectral/fft.$O\
	spectral/filterbank.$O\
	spectral/filterbank_mel.$O\
	spectral/mfcc.$O\
	spectral/ooura_fft8g.$O\
	spectral/phasevoc.$O\
	spectral/specdesc.$O\
	spectral/statistics.$O\
	spectral/tss.$O\
	synth/sampler.$O\
	synth/wavetable.$O\
	tempo/beattracking.$O\
	tempo/tempo.$O\
	temporal/a_weighting.$O\
	temporal/biquad.$O\
	temporal/c_weighting.$O\
	temporal/filter.$O\
	temporal/resampler.$O\
	utils/hist.$O\
	utils/log.$O\
	utils/parameter.$O\
	utils/scale.$O\
	utils/strutils.$O\
	utils/windll.$O\
	vecutils.$O\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${LIB:/$objtype/%=/386/%}\

CLEANFILES=$OFILES

</sys/src/cmd/mklib

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