Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/reference-assemblies.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/v4.6.1
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-03-30 00:57:21 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-03-30 03:14:06 +0300
commit04f19facb7326482773d6701da9bf137efe620f0 (patch)
tree13c91e8d5c5e980ec37c343dff1cc51bd3a55d1b /v4.6.1
parent7ec58f702b335e7736620eac2cd5cd2872b7e4aa (diff)
Add top-level convenience Makefile
Also change the other Makefiles so assemblies don't depend on the Makefile and bare/.stamp as it'd cause needless rebuilds in cases where the repo is freshly checked out.
Diffstat (limited to 'v4.6.1')
-rw-r--r--v4.6.1/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/v4.6.1/Makefile b/v4.6.1/Makefile
index 4184c7b..3a41997 100644
--- a/v4.6.1/Makefile
+++ b/v4.6.1/Makefile
@@ -409,18 +409,16 @@ all: $(addsuffix .dll, $(ASSEMBLIES))
clean:
rm -f *.dll
rm -f bare/*.dll
- rm -f bare/.stamp
rm -f Facades/*.dll
-bare/.stamp:
- @mkdir -p bare/ && touch $@
-
define KEYFILE_TEMPLATE
$(1)_KEYFILE := $(2)
endef
define ASSEMBLY_TEMPLATE
-$(1).dll: $(addprefix $(SOURCEDIR),$(subst bare/,,$(1)).cs) $(wildcard $(SOURCEDIR)$(1).extra.cs) $(addsuffix .dll, $($(1)_REFS)) $($(1)_KEYFILE) Makefile bare/.stamp
+$(1).dll: $(addprefix $(SOURCEDIR),$(subst bare/,,$(1)).cs) $(wildcard $(SOURCEDIR)$(1).extra.cs) $(addsuffix .dll, $($(1)_REFS)) $($(1)_KEYFILE)
+ @mkdir -p bare/
+ @mkdir -p Facades/
$(Q_CSC) $(CSC) -out:$(1).dll $(CSC_COMMON_ARGS) -keyfile:$($(1)_KEYFILE) $($(1)_CSC_ARGS) $(addprefix -r:, $(addsuffix .dll, $($(1)_REFS))) $(wildcard $(SOURCEDIR)$(1).extra.cs) $$<
endef