]> git.sesse.net Git - xml-template/commitdiff
Add all and clean targets to C++0x makefile.
authorsgunderson@bigfoot.com <>
Thu, 22 Sep 2011 00:13:08 +0000 (02:13 +0200)
committersgunderson@bigfoot.com <>
Thu, 22 Sep 2011 00:13:08 +0000 (02:13 +0200)
c++0x/Makefile

index 9c7cef95cee166e6594005229c18e9e53c47a0f9..bc6b07f7a7ce5adf648eabeca6d7e916f546b150 100644 (file)
@@ -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)