Exe=$(HOME)/bin/wisp all : parents local parents : tar3 gofun tar3 : ../tar3 (cd ../tar3 && make) gofun : ../gofun cd ../gofun && make local : src examples src : hello gawks hello: @echo "making xomo ........... a monte carlo simulator for COCOMO-like tools" gawks : $(foreach p, $(wildcard gawk/* ), \ (echo '#!'$(shell which gawk)' -f';cat $p) > $(Exe)/$(notdir $p); \ chmod +rwx $(Exe)/$(notdir $p);) examples : @cd eg && make local check : all @cd eg && make check