*.exe should remain executable

This commit is contained in:
Paul Chote
2011-04-17 13:51:35 +12:00
parent 3f06d6b867
commit 5a0aea7eb1

View File

@@ -180,7 +180,7 @@ $$($(1)_TARGET): $$($(1)_SRCS) Makefile $$($(1)_DEPS)
$$($(1)_EXTRA) \
$$($(1)_SRCS)
@test -e fixheader.exe && mono fixheader.exe $$(@) || ``
@chmod a-x $$(@)
@test `echo $$(@) | sed 's/^.*\.//'` = "dll" && chmod a-x $$(@) || ``
endef
$(foreach prog,$(PROGRAMS),$(eval $(call BUILD_ASSEMBLY,$(prog))))