mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-01 12:11:21 +00:00
20 lines
258 B
Makefile
20 lines
258 B
Makefile
all: xmltest staticlib
|
|
|
|
rebuild: clean all
|
|
|
|
xmltest: xmltest.cpp tinyxml2.a
|
|
|
|
clean:
|
|
$(RM) *.o xmltest tinyxml2.a
|
|
|
|
test: clean xmltest
|
|
./xmltest
|
|
|
|
staticlib: tinyxml2.a
|
|
|
|
tinyxml2.a: tinyxml2.o
|
|
$(AR) $(ARFLAGS)s $@ $^
|
|
|
|
tinyxml2.o: tinyxml2.cpp tinyxml2.h
|
|
|