Revision 1476

trunk/Makefile (revision 1476)
75 75
g++-verify:
76 76
	$(MAKE) --directory=tests CC=gcc CXX=g++ verify
77 77
g++-shared:
78
	$(MAKE) --directory=src CC=gcc CXX=g++ CXXFLAGS=-fPIC shared
79
	$(MAKE) --directory=contrib CC=gcc CXX=g++ CXXFLAGS=-fPIC shared
78
	$(MAKE) --directory=src CC=gcc CXX=g++ CXXFLAGS+=-fPIC shared
79
	$(MAKE) --directory=contrib CC=gcc CXX=g++ CXXFLAGS+=-fPIC shared
80 80
	$(MAKE) g++-copy
81 81
g++-install:
82 82
	$(MAKE) --directory=src CC=gcc CXX=g++ install
......
106 106
clang++-verify:
107 107
	$(MAKE) --directory=tests CC=clang CXX=clang++ verify
108 108
clang++-shared:
109
	$(MAKE) --directory=src CC=clang CXX=clang++ CXXFLAGS=-fpic shared
110
	$(MAKE) --directory=contrib CC=clang CXX=clang++ CXXFLAGS=-fpic shared
109
	$(MAKE) --directory=src CC=clang CXX=clang++ CXXFLAGS+=-fpic shared
110
	$(MAKE) --directory=contrib CC=clang CXX=clang++ CXXFLAGS+=-fpic shared
111 111
	$(MAKE) clang++-copy
112 112
clang++-install:
113 113
	$(MAKE) --directory=src CC=clang CXX=clang++ install
......
137 137
c++-verify:
138 138
	$(MAKE) --directory=tests CC=cc CXX=c++ verify
139 139
c++-shared:
140
	$(MAKE) --directory=src CC=cc CXX=c++ CXXFLAGS=-fPIC shared
141
	$(MAKE) --directory=contrib CC=cc CXX=c++ CXXFLAGS=-fPIC shared
140
	$(MAKE) --directory=src CC=cc CXX=c++ CXXFLAGS+=-fPIC shared
141
	$(MAKE) --directory=contrib CC=cc CXX=c++ CXXFLAGS+=-fPIC shared
142 142
	$(MAKE) c++-copy
143 143
c++-install:
144 144
	$(MAKE) --directory=src CC=cc CXX=c++ install
......
168 168
CC-verify:
169 169
	$(MAKE) --directory=tests CC=cc CXX=CC verify
170 170
CC-shared:
171
	$(MAKE) --directory=src CC=cc CXX=CC CXXFLAGS=-fpic shared
172
	$(MAKE) --directory=contrib CC=cc CXX=CC CXXFLAGS=-fpic shared
171
	$(MAKE) --directory=src CC=cc CXX=CC CXXFLAGS+=-fpic shared
172
	$(MAKE) --directory=contrib CC=cc CXX=CC CXXFLAGS+=-fpic shared
173 173
	$(MAKE) CC-copy
174 174
CC-install:
175 175
	$(MAKE) --directory=src CC=cc CXX=CC install
......
199 199
icpc-verify:
200 200
	$(MAKE) --directory=tests CC=icc CXX=icpc verify
201 201
icpc-shared:
202
	$(MAKE) --directory=src CC=icc CXX=icpc CXXFLAGS=-fpic shared
203
	$(MAKE) --directory=contrib CC=icc CXX=icpc CXXFLAGS=-fpic shared
202
	$(MAKE) --directory=src CC=icc CXX=icpc CXXFLAGS+=-fpic shared
203
	$(MAKE) --directory=contrib CC=icc CXX=icpc CXXFLAGS+=-fpic shared
204 204
	$(MAKE) icpc-copy
205 205
icpc-install:
206 206
	$(MAKE) --directory=src CC=icc CXX=icpc install
......
230 230
openCC-verify:
231 231
	$(MAKE) --directory=tests CC=opencc CXX=openCC verify
232 232
openCC-shared:
233
	$(MAKE) --directory=src CC=opencc CXX=openCC CXXFLAGS=-fPIC shared
234
	$(MAKE) --directory=contrib CC=opencc CXX=openCC CXXFLAGS=-fPIC shared
233
	$(MAKE) --directory=src CC=opencc CXX=openCC CXXFLAGS+=-fPIC shared
234
	$(MAKE) --directory=contrib CC=opencc CXX=openCC CXXFLAGS+=-fPIC shared
235 235
	$(MAKE) openCC-copy
236 236
openCC-install:
237 237
	$(MAKE) --directory=src CC=opencc CXX=openCC install

Also available in: Unified diff