File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,11 @@ all: ${OUTPUT}
93
93
# Source files
94
94
# ****************************************************************************
95
95
96
- SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest .cpp tinyxmlerror.cpp tinystr.cpp
96
+ LIBSRCS := tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp
97
97
98
- # Add on the sources for libraries
99
- SRCS := ${SRCS}
98
+ SRCS := $(LIBSRCS ) xmltest.cpp
99
+
100
+ LIBOBJS := $(addsuffix .o,$(basename ${LIBSRCS}) )
100
101
101
102
OBJS := $(addsuffix .o,$(basename ${SRCS}) )
102
103
@@ -127,8 +128,8 @@ clean:
127
128
depend :
128
129
# makedepend ${INCS} ${SRCS}
129
130
130
- lib : ${OBJS }
131
- ${AR} libtinyxml.a ${OBJS }
131
+ lib : ${LIBOBJS }
132
+ ${AR} libtinyxml.a ${LIBOBJS }
132
133
${RANLIB} libtinyxml.a
133
134
134
135
tinyxml.o : tinyxml.h tinystr.h
You can’t perform that action at this time.
0 commit comments