Makefile Fragment
site.exp:
-@rm -f ./tmp?
@touch site.exp
-@mv site.exp site.bak
@echo "## these variables are automatically generated by make ##" > ./tmp0
@echo "# Do not edit here. If you wish to override these values," >> ./tmp0
@echo "# do so in the last section." >> ./tmp0
@echo set host_triplet $(host) >> ./tmp0
@echo set target_triplet $(target) >> ./tmp0
@echo set build_triplet $(build) >> ./tmp0
@echo set srcdir $(srcdir) >> ./tmp0
@echo set exec_prefix $(exec_prefix) >> ./tmp0
@echo set objdir `pwd` >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ## " >> ./tmp0
@sed -e '1,/^## All variables above are.*##/ d' < site.bak >> ./tmp0
@mv -f ./tmp0 site.exp
Makefile Fragment