From f846a6f21afe76802387906f96cd3b91ab3d1efc Mon Sep 17 00:00:00 2001 From: angel Date: Wed, 8 Oct 2003 17:59:24 +0000 Subject: [PATCH] Added config.sh and makefile.depend to cvs. git-svn-id: file:///home/angel/tmp/svn-triptico/ahxm/trunk@18 c87de0a0-a11c-0410-a1e5-866214bc28b2 --- config.sh | 14 ++++++++++++++ makefile.depend | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100755 config.sh create mode 100644 makefile.depend diff --git a/config.sh b/config.sh new file mode 100755 index 0000000..b9c30ea --- /dev/null +++ b/config.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +echo "Configuring..." + +touch config.h +uname=`uname` + +if [ "$uname" = "Linux" ] ; then + echo "#define LINUX_OSS 1" >> config.h +fi + +if [ "$uname" = "IRIX" ] ; then + echo "#define SGI 1" >> config.h +fi diff --git a/makefile.depend b/makefile.depend new file mode 100644 index 0000000..8588dd1 --- /dev/null +++ b/makefile.depend @@ -0,0 +1,11 @@ +generator.o: generator.c config.h generator.h +input.o: input.c config.h input.h +instrument.o: instrument.c config.h generator.h instrument.h +out_oss.o: out_oss.c config.h output.h +out_pipe.o: out_pipe.c config.h output.h +out_raw.o: out_raw.c config.h output.h +out_sgi.o: out_sgi.c config.h +out_wav.o: out_wav.c config.h output.h +output.o: output.c config.h output.h out_raw.h out_wav.h out_pipe.h \ + out_oss.h out_sgi.h +wav.o: wav.c config.h input.h output.h generator.h instrument.h -- 2.11.4.GIT