[Pkg-wmaker-commits] [wmix] 12/44: wmix: changed the makefile to use the standard practice LIBS variable for libraries

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Sep 29 10:40:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmix.

commit 7501b15ce01fd269dff9272eaf3a38b51b5ea44b
Author: Christophe CURIS <christophe.curis at free.fr>
Date:   Sat Jun 7 21:21:40 2014 +0200

    wmix: changed the makefile to use the standard practice LIBS variable for libraries
    
    Signed-off-by: Christophe CURIS <christophe.curis at free.fr>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index bc7bc3c..3ef4f3a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 CC		= gcc
 CFLAGS		= -O3 -W -Wall
 LDFLAGS		= -L/usr/X11R6/lib
+LIBS		= -lXpm -lXext -lX11 -lm
 OBJECTS		= misc.o mixer-oss.o ui_x.o wmix.o
 
 # where to install this program (also for packaging stuff)
@@ -10,7 +11,7 @@ INSTALL_BIN	= -m 755
 INSTALL_DATA	= -m 644
 
 wmix: $(OBJECTS)
-	$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -lXpm -lXext -lX11 -lm
+	$(CC) -o $@ $(LDFLAGS) $(OBJECTS) $(LIBS)
 
 clean:
 	rm -rf *.o wmix *~

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmix.git



More information about the Pkg-wmaker-commits mailing list