blob: 16544930cc4f8c8eb973d2e8eb1a9f3af29e5777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
## Process this file with automake to produce Makefile.in
INCLUDES = -I../src
EXTRA_DIST = sndfile_load.m sndfile_save.m sndfile_play.m
octconfigdir = $(exec_prefix)/share/octave/site/m
octconfig_DATA = sndfile_load.m sndfile_save.m sndfile_play.m
all : sfread.oct sfwrite.oct
sfread.oct : format.o sfread.cc
$(MKOCTFILE) $+ -lsndfile -o $@
sfwrite.oct : format.o sfwrite.cc
$(MKOCTFILE) $(INCLUDES) $+ -lsndfile -o $@
format.o : format.cc
$(MKOCTFILE) $(INCLUDES) -c $<
%.o: %.c ; $(MKOCTFILE) -c $<
%.o: %.f ; $(MKOCTFILE) -c $<
%.o: %.cc ; $(MKOCTFILE) -c $<
%.oct: %.cc ; $(MKOCTFILE) $<
|