Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 21c49be

Browse files
committed
Fix the build.
1 parent 8139da1 commit 21c49be

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Makefile

+5-8
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,19 @@ export MONO_PREFIX ?= /usr
4343
MODE ?= Debug
4444

4545
ifeq ($(MODE), Debug)
46-
override xb_mode = net_4_0_Debug
4746
override mono_opt = --debug
4847

4948
FSHARPC_FLAGS += --debug+
5049
MCS_FLAGS += -debug
5150
else
52-
override xb_mode = net_4_0_Release
53-
5451
FSHARPC_FLAGS += --optimize
5552
MCS_FLAGS += -optimize
5653
endif
5754

5855
FSHARPC_FLAGS += --nologo --warnaserror
5956
GENDARME_FLAGS += --severity all --confidence all
6057
MCS_FLAGS += -langversion:experimental -unsafe -warnaserror
61-
XBUILD_FLAGS += /nologo /property:Configuration=$(xb_mode) /verbosity:quiet
58+
XBUILD_FLAGS += /nologo /property:Configuration=$(MODE) /verbosity:quiet
6259

6360
FSHARPC_TEST_FLAGS += --debug+ --nologo --warnaserror
6461
MCS_TEST_FLAGS += -debug -langversion:experimental -unsafe -warnaserror
@@ -117,7 +114,7 @@ clean-check:
117114
$(RM) $(tests)
118115

119116
clean-deps:
120-
$(CD) dep/debugger-libs && $(XBUILD) $(XBUILD_FLAGS) /target:Clean
117+
$(CD) dep/debugger-libs && $(XBUILD) $(XBUILD_FLAGS) /target:Clean debugger-libs.sln
121118

122119
clean-release:
123120
$(RM) -r rel
@@ -163,15 +160,15 @@ override refs = \
163160
Mono.Debugging.Soft.dll
164161

165162
$(addprefix bin/, $(refs)):
166-
$(CD) dep/debugger-libs && $(NUGET) restore && $(XBUILD) $(XBUILD_FLAGS) debugger-libs.sln
163+
$(CD) dep/debugger-libs && $(NUGET) restore debugger-libs.sln && $(XBUILD) $(XBUILD_FLAGS) debugger-libs.sln
167164
$(MKDIR) -p bin
168165
$(CP) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.dll \
169166
bin/ICSharpCode.NRefactory.dll
170167
$(CP) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.CSharp.dll \
171168
bin/ICSharpCode.NRefactory.CSharp.dll
172-
$(CP) dep/cecil/bin/$(xb_mode)/Mono.Cecil.dll \
169+
$(CP) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.dll \
173170
bin/Mono.Cecil.dll
174-
$(CP) dep/cecil/bin/$(xb_mode)/Mono.Cecil.Mdb.dll \
171+
$(CP) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.Mdb.dll \
175172
bin/Mono.Cecil.Mdb.dll
176173
$(CP) dep/debugger-libs/Mono.Debugger.Soft/bin/Debug/Mono.Debugger.Soft.dll \
177174
bin/Mono.Debugger.Soft.dll

0 commit comments

Comments
 (0)