]> git.sesse.net Git - xml-template/blobdiff - c++0x/Makefile
Split out the C++0x library into a separate file from the simple unit test.
[xml-template] / c++0x / Makefile
index 979a60f9ad59cf7a3a605e5fff55e14ba41777be..2d8850d9f5b591030738262457a4cc09c2e441c5 100644 (file)
@@ -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)