File: Makefile

package info (click to toggle)
opus 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 92,268 kB
  • sloc: ansic: 873,279; sh: 4,541; asm: 723; makefile: 480; perl: 264; python: 77
file content (19 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TESTS=trivial

VPATH=../../doc


all: $(TESTS:%=%_example) $(TESTS:%=%_test)
clean:
	@rm -f $(TESTS:%=%_example) $(TESTS:%=%_test)

.PHONY: all clean

CFLAGS=$(shell pkg-config --cflags opus)
LDLIBS=$(shell pkg-config --libs opus)
infile=input.wav

%_test: %_example
	./$^ $(infile) 2>&1 >$@
trivial_test: trivial_example
	./$^ $(infile) $@