encfs/vendor/github.com/leethomason/tinyxml2/Makefile
Valient Gough 795b26a633 Add "tinyxml2" from "https://github.com/leethomason/tinyxml2.git@master"
git-vendor-name: tinyxml2
git-vendor-dir: vendor/github.com/leethomason/tinyxml2
git-vendor-repository: https://github.com/leethomason/tinyxml2.git
git-vendor-ref: master
2017-08-05 23:23:33 -07:00

20 lines
270 B
Makefile

all: xmltest staticlib
rebuild: clean all
xmltest: xmltest.cpp libtinyxml2.a
clean:
$(RM) *.o xmltest libtinyxml2.a
test: clean xmltest
./xmltest
staticlib: libtinyxml2.a
libtinyxml2.a: tinyxml2.o
$(AR) $(ARFLAGS)s $@ $^
tinyxml2.o: tinyxml2.cpp tinyxml2.h