summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
Diffstat (limited to 'libao2')
-rw-r--r--libao2/Makefile5
-rw-r--r--libao2/ao_null.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/libao2/Makefile b/libao2/Makefile
index 9d64132ce3..ddf755f04e 100644
--- a/libao2/Makefile
+++ b/libao2/Makefile
@@ -17,7 +17,7 @@ CFLAGS = $(OPTFLAGS) -I. -I..
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
-$(LIBNAME): .depend $(OBJS)
+$(LIBNAME): $(OBJS)
$(AR) r $(LIBNAME) $(OBJS)
all: $(LIBNAME)
@@ -29,9 +29,8 @@ distclean:
rm -f Makefile.bak *.o *.a *~ .depend
dep: depend
-depend: .depend
-.depend: Makefile ../config.mak ../config.h
+depend:
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
#
diff --git a/libao2/ao_null.c b/libao2/ao_null.c
index d48667757f..4ec360fea6 100644
--- a/libao2/ao_null.c
+++ b/libao2/ao_null.c
@@ -33,7 +33,7 @@ static int init(int rate,int channels,int format,int flags){
ao_outburst=4096;
- return 0;
+ return 1;
}
// close audio device