summaryrefslogtreecommitdiff
path: root/csharp/Makefile
blob: 11a52beb55a78207dd4aae86825c74b88786da2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

#
# We use /p:UseSharedCompilation=false /nr:false to ensure msbuild doesn't leave processes behind
# after the build (this causes make to hang).
#
DOTNETARGS = /p:UseSharedCompilation=false /nr:false /m
DOTNETBUILDARGS = $(if $(filter $(OPTIMIZE),no),/p:Configuration=Debug)

all:
	dotnet msbuild msbuild/ice.proj $(DOTNETARGS) $(DOTNETBUILDARGS)

tests:
	dotnet msbuild msbuild/ice.proj $(DOTNETARGS) $(DOTNETBUILDARGS)

srcs:
	dotnet msbuild msbuild/ice.proj $(DOTNETARGS) $(DOTNETBUILDARGS) /t:BuildDist

distclean clean:
	dotnet msbuild msbuild/ice.proj $(DOTNETARGS) /t:Clean

install::
	@echo nothing to install

test::
	@python ./allTests.py