CXX=g++
CXXFLAGS=-std=gnu++0x -g -Wall $(shell xml2-config --cflags)
+LDFLAGS=$(shell xml2-config --libs)
+LIBS=xml-template.o
-simple: simple.o
- $(CXX) -o $@ $< $(shell xml2-config --libs)
+passthru: passthru.o $(LIBS)
+ $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)
+simple: simple.o $(LIBS)
+ $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)
+
+clone: clone.o $(LIBS)
+ $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)
+
+attribute: attribute.o $(LIBS)
+ $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)
+
+namespace: namespace.o $(LIBS)
+ $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)