From: sgunderson@bigfoot.com <> Date: Wed, 21 Sep 2011 19:41:10 +0000 (+0200) Subject: Use a LDFLAGS variable. X-Git-Url: https://git.sesse.net/?p=xml-template;a=commitdiff_plain;h=373de97659ef7f2a25302aa2a1d64ea6f083d5fc Use a LDFLAGS variable. --- diff --git a/c++0x/Makefile b/c++0x/Makefile index 2d8850d..fe1f331 100644 --- a/c++0x/Makefile +++ b/c++0x/Makefile @@ -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)