]> git.sesse.net Git - xml-template/commitdiff
Use a LDFLAGS variable.
authorsgunderson@bigfoot.com <>
Wed, 21 Sep 2011 19:41:10 +0000 (21:41 +0200)
committersgunderson@bigfoot.com <>
Wed, 21 Sep 2011 19:41:10 +0000 (21:41 +0200)
c++0x/Makefile

index 2d8850d9f5b591030738262457a4cc09c2e441c5..fe1f331ac63264c3523e4b5a24cb13d25b4dc3ce 100644 (file)
@@ -1,7 +1,8 @@
 CXX=g++
 CXXFLAGS=-std=gnu++0x -g -Wall $(shell xml2-config --cflags)
+LDFLAGS=$(shell xml2-config --libs)
 OBJS=simple.o xml-template.o
 
 simple: $(OBJS)
-       $(CXX) -o $@ $(OBJS) $(shell xml2-config --libs)
+       $(CXX) -o $@ $(OBJS) $(LDFLAGS)