From 373de97659ef7f2a25302aa2a1d64ea6f083d5fc Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Wed, 21 Sep 2011 21:41:10 +0200 Subject: [PATCH] Use a LDFLAGS variable. --- c++0x/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2