X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=c%2B%2B0x%2FMakefile;h=9c74fc073ec6d096ca70b2edcb774334dafca50e;hb=01379ffa98201067728e63135eb1d6d66266650e;hp=979a60f9ad59cf7a3a605e5fff55e14ba41777be;hpb=8dd31132b249ab02168c61875dadd7eb18300566;p=xml-template diff --git a/c++0x/Makefile b/c++0x/Makefile index 979a60f..9c74fc0 100644 --- a/c++0x/Makefile +++ b/c++0x/Makefile @@ -1,6 +1,11 @@ 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)