ref: b7dc5c196662334cabebfcb9dfe338cac6002819
parent: ee88eb323ed99f74750a3ba595d349758414ea61
author: rrt <rrt>
date: Tue Jan 2 17:32:12 EST 2007
Move AM_CFLAGS and AM_LDFLAGS to the top; seems more logical as they are global settings. Fix rule for making rec in current directory to remove play, not rec. Duh.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,9 @@
SUBDIRS = libgsm
+AM_CFLAGS = $(LUA_INCLUDES)
+AM_LDFLAGS = @SAMPLERATE_LIBS@
+
bin_PROGRAMS = sox
bin_SCRIPTS = play libst-config
lib_LTLIBRARIES = libst.la
@@ -26,9 +29,6 @@
libst_la_SOURCES = $(formats) $(effects) alsa.c oss.c sunaudio.c handlers.c misc.c \
st_i.h stio.c util.c xmalloc.c xmalloc.h getopt.c getopt1.c getopt.h
-AM_CFLAGS = $(LUA_INCLUDES)
-AM_LDFLAGS = @SAMPLERATE_LIBS@
-
sox_SOURCES = sox.c
sox_LDADD = libst.la libgsm/libgsm.la $(LUA_LIBS)
@@ -38,7 +38,7 @@
$(MAKE) -C libgsm
rec: play
- $(RM) play && $(LN_S) play rec
+ $(RM) rec && $(LN_S) play rec
install-exec-hook:
cd $(DESTDIR)$(bindir) && \