shithub: sox

Download patch

ref: 2ae81f2e51b709c1a1af75ba99b08197ff06ed3a
parent: 8d7d146058be0aee0d4a4c7e6e0ab39cae7141b8
author: cbagwell <cbagwell>
date: Sun Nov 7 17:37:20 EST 2004

default rule to compile .o from .c with CPPFLAGS

--- a/Makefile.in
+++ b/Makefile.in
@@ -80,8 +80,3 @@
 
 config.status: configure
 	./config.status --recheck
-
-# Not all platforms use CPPFLAGS concept by default so define custom
-# rule for .c.o to make sure its used.
-.c.o:
-	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -145,3 +145,8 @@
 	$(RM) *~ *.o *.raw *.sf core sox soxmix libst.a play libst-config
 	cd gsm && $(RM) *~ *.o core libgsm.a Makefile
 	$(RM) stconfig.h ststdint.h Makefile
+
+# Not all platforms use CPPFLAGS concept by default so define custom
+# rule for .c.o to make sure its used.
+.c.o:
+	${CC} ${CFLAGS} ${CPPFLAGS} -c $<