aboutsummaryrefslogtreecommitdiff
path: root/pd/portaudio_v18/pa_unix_oss/Makefile
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
commitae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 (patch)
tree1e7570f11ac688e94342968e90301c4684e61193 /pd/portaudio_v18/pa_unix_oss/Makefile
parentf26399eba6ee6ce9eb7bae9a4b60a90dc2ebca94 (diff)
This commit was generated by cvs2svn to compensate for changes in r1301,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1302
Diffstat (limited to 'pd/portaudio_v18/pa_unix_oss/Makefile')
-rw-r--r--pd/portaudio_v18/pa_unix_oss/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/pd/portaudio_v18/pa_unix_oss/Makefile b/pd/portaudio_v18/pa_unix_oss/Makefile
new file mode 100644
index 00000000..3603816a
--- /dev/null
+++ b/pd/portaudio_v18/pa_unix_oss/Makefile
@@ -0,0 +1,32 @@
+# Make PortAudio for Linux
+#
+# by Phil Burk
+#
+# To compile a test program, make a target with a .app suffix.
+# For example to compile "../pa_tests/pa_devs.c", enter:
+# gmake pa_devs.app
+#
+# To compile and execute a test program, make a target with a .run suffix.
+# For example to build and run "../pa_tests/pa_devs.c", enter:
+# gmake pa_devs.run
+
+VPATH = ../pa_common ../pa_tests
+CFLAGS = -g -Wall -I../pa_common
+CC = gcc
+
+PAOBJS = pa_lib.o pa_unix_oss.o pa_unix.o
+PAINC = portaudio.h pa_unix.h
+PALIBS = -lm -lpthread
+
+all: patest_sine.run
+
+%.app: %.o $(PAOBJS) $(PAINC) Makefile
+ gcc $(CFLAGS) $*.o $(PAOBJS) $(PALIBS) -o $@
+
+%.run: %.app
+ ./$*.app
+
+clean:
+ -rm *.app
+ -rm *.o
+