Skip to content

Commit d45d620

Browse files
committed
Remove xmltest.o from lib
1 parent 8bef75a commit d45d620

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Cpp/Dependencies/tinyxml/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ all: ${OUTPUT}
9393
# Source files
9494
#****************************************************************************
9595

96-
SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest.cpp tinyxmlerror.cpp tinystr.cpp
96+
LIBSRCS := tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp
9797

98-
# Add on the sources for libraries
99-
SRCS := ${SRCS}
98+
SRCS := $(LIBSRCS) xmltest.cpp
99+
100+
LIBOBJS := $(addsuffix .o,$(basename ${LIBSRCS}))
100101

101102
OBJS := $(addsuffix .o,$(basename ${SRCS}))
102103

@@ -127,8 +128,8 @@ clean:
127128
depend:
128129
#makedepend ${INCS} ${SRCS}
129130

130-
lib: ${OBJS}
131-
${AR} libtinyxml.a ${OBJS}
131+
lib: ${LIBOBJS}
132+
${AR} libtinyxml.a ${LIBOBJS}
132133
${RANLIB} libtinyxml.a
133134

134135
tinyxml.o: tinyxml.h tinystr.h

0 commit comments

Comments
 (0)