mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-04 21:30:54 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14212 72102866-910b-0410-8b05-ffd578937521
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# Make PortAudio for Linux
|
|
|
|
LIBS = -lm -lpthread
|
|
|
|
CC = /usr/local/bin/gcc
|
|
CDEFINES = -I../pa_common
|
|
CFLAGS = -g -Wall
|
|
PASRC = ../pa_common/pa_lib.c pa_unix_oss.c
|
|
PAINC = ../pa_common/portaudio.h
|
|
|
|
# Tests that work.
|
|
#TESTC = $(PASRC) ../pa_tests/patest_sine.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_longsine.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_sine_time.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_maxsines.c
|
|
TESTC = $(PASRC) ../pa_tests/patest_toomanysines.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_underflow.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_hang.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/pa_fuzz.c
|
|
#TESTC = $(PASRC) ../pa_tests/patest_wire.c
|
|
#TESTC = $(PASRC) ../pa_tests/paqa_devs.c
|
|
|
|
# Tests that do not yet work.
|
|
# OSS doesn't let us make obscenely huge buffers so the test will seem to fail. But its OK.
|
|
#TESTC = $(PASRC) ../pa_tests/patest_stop.c
|
|
|
|
TESTH = $(PAINC)
|
|
|
|
all: patest
|
|
|
|
patest: $(TESTC) $(TESTH) Makefile
|
|
gcc $(CFLAGS) $(TESTC) $(CDEFINES) $(LIBS) -o patest
|
|
|
|
run: patest
|
|
./patest
|
|
|