Shell = /bin/sh Target = $(HOME)/bin/wisp all: cocominExperts triangular_estimates header81 match resultsToCocNumerics cocominExperts: cocominExperts.cpp g++ -Wall cocominExperts.cpp -o $(Target)/cocominExperts triangular_estimates: triangular_estimates.cpp g++ -Wall triangular_estimates.cpp triangular.c -o $(Target)/triangular_estimates header81: header81.awk echo -n "#!" > $(Target)/header81; echo -n `which gawk` >> $(Target)/header81; echo " -f" >> $(Target)/header81; cat header81.awk >> $(Target)/header81; chmod +x $(Target)/header81; match: match.awk echo -n "#!" > $(Target)/match; echo -n `which gawk` >> $(Target)/match; echo " -f" >> $(Target)/match; cat match.awk >> $(Target)/match; chmod +x $(Target)/match; resultsToCocNumerics: resultsToCocNumerics.awk echo -n "#!" > $(Target)/resultsToCocNumerics; echo -n `which gawk` >> $(Target)/resultsToCocNumerics; echo " -f" >> $(Target)/resultsToCocNumerics; cat resultsToCocNumerics.awk >> $(Target)/resultsToCocNumerics; chmod +x $(Target)/resultsToCocNumerics;