Make targets writable

This commit is contained in:
ceriel 1991-10-18 09:58:52 +00:00
parent 948711ae6f
commit 96893d0092
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,6 @@
trap "rm -f tmp$$" 0 1 2 3 15
cp $1 tmp$$
chmod +w tmp$$
ed - tmp$$ <<'EOF'
/^#include "C_mnem_narg"/d
.-1r C_mnem_narg

View file

@ -38,6 +38,8 @@ install: all
for i in $(PseudoList) ; do cp $(SRC_DIR)/pseudo/$$i $(DEF)/pseudo/$$i ; done
for i in $(StorageList) ; do cp $(SRC_DIR)/storage/$$i $(DEF)/storage/$$i ; done
cp C_out.c $(DEF)/C_out.c
chmod +w $(DEF)/*
chmod +w $(DEF)/*/*
cmp: all
-cmp $(SRC_DIR)/pseudo_vars.c $(DEF)/pseudo_vars.c