Exe=$(HOME)/bin/wisp all : parents local parents : tar3 gofun tar3 : ../../trunk/tar3 (cd ../../trunk/tar3 && make) gofun : ../../trunk/gofun cd ../../trunk/gofun && make local : src examples src : hello xomoing gawks hello: @echo "making xomo ........... a monte carlo simulator for COCOMO-like tools" xomoing : echo xomo-ing requirez xomo 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