#awk source files, colon separated Sources=effort.awk:defects.awk:tunings.awk:model.awk:input.awk:grammar.awk:pgmain.awk:risk.awk:eg.awk:lib.awk# Here=$(PWD)# Tmp:=$(Here)/tmp# #profiling output options Timestamp=$(shell date '+%m.%d.%y-%H:%M:%S.%N')# Profout=$(Tmp)/profile-$(Dataset)-$(Timestamp).out# Vardump=$(Tmp)/vars-$(Dataset)-$(Timestamp).out# #What to run Src= -f $(subst :, -f ,$(Sources))# Run= gawk $(Src)# Debug= pgawk --dump-variables=$(Vardump) --profile=$(Profout) $(Src)# Profile= pgawk --profile=$(Profout) $(Src)# Test= gawk $(Src) -v T=$T# main : all all : $(Run) run : $(Run) debug : echo Debuggin\' $(Debug) profile : echo Profilin\' $(Profile) test : $(Test)