summaryrefslogtreecommitdiff
path: root/tutorials/sndkit/samples/Makefile
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-03 21:08:42 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-03 21:08:42 +0400
commit1058def8e7827e56ce4a70afb4aeacb5dc44148f (patch)
tree4495d23e7b54ab5700e3839081e797c1eafe0db9 /tutorials/sndkit/samples/Makefile
downloadoss4-upstream.tar.gz
Imported Upstream version 4.2-build2006upstream/4.2-build2006upstream
Diffstat (limited to 'tutorials/sndkit/samples/Makefile')
-rw-r--r--tutorials/sndkit/samples/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/tutorials/sndkit/samples/Makefile b/tutorials/sndkit/samples/Makefile
new file mode 100644
index 0000000..a155391
--- /dev/null
+++ b/tutorials/sndkit/samples/Makefile
@@ -0,0 +1,26 @@
+#
+# Note! In most systems soundcard.h located under <sys/> or <linux/> is for
+# obsolete OSS 3.x version and these utilities will fail to compile with
+# it. For safety reasons utilities located in this directory have been
+# changed to include just <soundcard.h> instead of <sys/soundcard.h>.
+#
+# The correct version of soundcard.h is located in
+# /usr/lib/oss/include/sys. However some operating systems have OSS4
+# included in the base system and /usr/include/sys/soundcard.h may be
+# correct.
+#
+# You can use the OSSLIBDIR variable defined in /etc/oss.conf. If this
+# file exists then include it in the Makefile. You can use
+# -I(OSSLIBDIR)/include/sys
+
+CFLAGS=-I../../../include
+
+# Note2! Not all programs are included in TARGET. The missing programs are
+# used to demonstrate OSS features that are not recommended.
+
+TARGETS=audiolevel dsp_geterror_demo fulldup midi midiin mixer_applet mixext mmap_duplex mmap_test playtgt recsrc singen
+
+all: $(TARGETS)
+
+clean:
+ rm -f $(TARGETS) *.o core core.* *.core x y z *~