Browse files

make built programs read only

  • Loading branch information...
1 parent 1a49bee commit a140d97c72721e32846d329bc844e09c65726c7d @rtomayko committed Mar 12, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 Makefile
View
5 Makefile
@@ -75,14 +75,15 @@ STANDALONE = $(NAME)-sa
.sh:
echo " SH $@"
$(SHELL) -n $<
+ rm -f $@
cp $< $@
- chmod +x $@
+ chmod a-w+x $@
.sh.html:
echo " SHOCCO $@"
shocco $< > $@
-build: $(PROGRAMS) $(STANDALONE)
+build: $(PROGRAMS)
auto:
while true; do $(MAKE) ; sleep 1; done

0 comments on commit a140d97

Please sign in to comment.