shithub: opus

Download patch

ref: b9f0e330e45cf3045b42bfd14b3dd00f85ebbae3
parent: d2913a62b93b6b3bcaf4c152ac1bfecedcbaea84
author: Jean-Marc Valin <[email protected]>
date: Thu Feb 3 09:03:10 EST 2011

Makefile deps fix

--- a/Makefile.draft
+++ b/Makefile.draft
@@ -70,7 +70,7 @@
 TESTOPUS_SRCS_C = src/test_opus.c
 TESTOPUS_OBJS := $(patsubst %.c,%$(OBJSUFFIX),$(TESTOPUS_SRCS_C))
 
-LIBS = $(LIB_NAME) m
+LIBS = m
 
 LDLIBDIRS = ./
 
@@ -84,8 +84,8 @@
 $(TARGET): $(OBJS)
 	$(ARCHIVE.cmdline)
 
-test_opus$(EXESUFFIX): $(TESTOPUS_OBJS)
+test_opus$(EXESUFFIX): $(TESTOPUS_OBJS) $(TARGET)
 	$(LINK.o.cmdline)
 	
 clean:
-	rm -f test_opus libopus.a $(OBJS)
+	rm -f test_opus$(EXESUFFIX) $(TARGET) $(OBJS) $(TESTOPUS_OBJS)