From: sgunderson@bigfoot.com <> Date: Thu, 22 Sep 2011 00:13:08 +0000 (+0200) Subject: Add all and clean targets to C++0x makefile. X-Git-Url: https://git.sesse.net/?p=xml-template;a=commitdiff_plain;h=052b584d7b60fd9be246d3fcf8bdefdead60d35c Add all and clean targets to C++0x makefile. --- diff --git a/c++0x/Makefile b/c++0x/Makefile index 9c7cef9..bc6b07f 100644 --- a/c++0x/Makefile +++ b/c++0x/Makefile @@ -3,6 +3,14 @@ CXXFLAGS=-std=gnu++0x -g -Wall $(shell xml2-config --cflags) LDFLAGS=$(shell xml2-config --libs) LIBS=xml-template.o +BINS=passthru simple clone include attribute attribute2 attribute3 attribute-empty namespace namespace2 structure +OBJS=passthru.o simple.o clone.o include.o attribute.o attribute2.o attribute3.o attribute-empty.o namespace.o namespace2.o structure.o xml-template.o + +all: $(BINS) + +clean: + $(RM) $(BINS) $(OBJS) + passthru: passthru.o $(LIBS) $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)