aboutsummaryrefslogtreecommitdiff
path: root/pd/portaudio_v18/pa_unix_oss/Makefile_freebsd
blob: fc8b14db54c524138251df7fca05fbc76db6ffb6 (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
25
26
27
28
29
30
31
32
33
34
35
36
# Make PortAudio for FreeBSD

LIBS =  -lm -pthread

CDEFINES = -I../pa_common
CFLAGS = -g
PASRC = ../pa_common/pa_lib.c pa_freebsd.c
PAINC = ../pa_common/portaudio.h

# Tests that work.
#TESTC   = $(PASRC) ../pa_tests/patest_sine.c
TESTC   = $(PASRC) ../pa_tests/patest_sine_time.c
#TESTC   = $(PASRC) ../pa_tests/patest_stop.c
#TESTC   = $(PASRC) ../pa_tests/patest_sync.c
#TESTC   = $(PASRC) ../pa_tests/patest_pink.c
#TESTC   = $(PASRC) ../pa_tests/patest_leftright.c
#TESTC   = $(PASRC) ../pa_tests/patest_clip.c
#TESTC   = $(PASRC) ../pa_tests/patest_dither.c
#TESTC   = $(PASRC) ../pa_tests/pa_devs.c
#TESTC   = $(PASRC) ../pa_tests/patest_many.c
#TESTC   = $(PASRC) ../pa_tests/patest_record.c
#TESTC   = $(PASRC) ../pa_tests/patest_wire.c
#TESTC   = $(PASRC) ../pa_tests/paqa_devs.c

# Tests that do not yet work.

TESTH   = $(PAINC)

all: patest

patest: $(TESTC) $(TESTH) Makefile
	gcc $(CFLAGS) $(TESTC) $(CDEFINES) $(LIBS) -o patest

run: patest
	./patest