X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=c%2B%2B0x%2FMakefile;h=bc6b07f7a7ce5adf648eabeca6d7e916f546b150;hb=052b584d7b60fd9be246d3fcf8bdefdead60d35c;hp=f79d37af07ff73540ba554cb59528a2e4b4b4616;hpb=0f26350831228c8c460a57448e421a1e4c763293;p=xml-template diff --git a/c++0x/Makefile b/c++0x/Makefile index f79d37a..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) @@ -12,11 +20,26 @@ simple: simple.o $(LIBS) clone: clone.o $(LIBS) $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) +include: include.o $(LIBS) + $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) + attribute: attribute.o $(LIBS) $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) +attribute2: attribute2.o $(LIBS) + $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) + +attribute3: attribute3.o $(LIBS) + $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) + +attribute-empty: attribute-empty.o $(LIBS) + $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) + namespace: namespace.o $(LIBS) $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) namespace2: namespace2.o $(LIBS) $(CXX) -o $@ $< $(LIBS) $(LDFLAGS) + +structure: structure.o $(LIBS) + $(CXX) -o $@ $< $(LIBS) $(LDFLAGS)