[Pcsclite-cvs-commit] muscleTools Makefile,1.8,1.9

rousseau@quantz.debian.org rousseau@quantz.debian.org
Sat, 11 Oct 2003 22:35:42 +0200


Update of /cvsroot/muscleapps/muscleTools
In directory quantz:/tmp/cvs-serv3299

Modified Files:
	Makefile 
Log Message:
use pkg-config to locate includes and libraries


Index: Makefile
===================================================================
RCS file: /cvsroot/muscleapps/muscleTools/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile	11 Oct 2003 20:09:30 -0000	1.8
+++ Makefile	11 Oct 2003 20:35:39 -0000	1.9
@@ -4,8 +4,8 @@
 endif
 
 CC = gcc
-CFLAGS = -g -Wall
-LIBS = -lmusclecard -lpthread
+CFLAGS = -g -Wall `pkg-config --cflags libmusclecard`
+LIBS = `pkg-config --libs libmusclecard` -lpthread
 LDFLAGS = $(LIBS)
 
 all: muscleTool