X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=c%2B%2B0x%2FMakefile;h=2d8850d9f5b591030738262457a4cc09c2e441c5;hb=59996859ced59ac9fdb307b2eb2130b48d4d4f63;hp=979a60f9ad59cf7a3a605e5fff55e14ba41777be;hpb=eb5498b74048d0ae51ace918e4d06fcc12264ec4;p=xml-template diff --git a/c++0x/Makefile b/c++0x/Makefile index 979a60f..2d8850d 100644 --- a/c++0x/Makefile +++ b/c++0x/Makefile @@ -1,6 +1,7 @@ CXX=g++ CXXFLAGS=-std=gnu++0x -g -Wall $(shell xml2-config --cflags) +OBJS=simple.o xml-template.o -simple: simple.o - $(CXX) -o $@ $< $(shell xml2-config --libs) +simple: $(OBJS) + $(CXX) -o $@ $(OBJS) $(shell xml2-config --libs)