SHELL=/bin/bash CFLAGS=-g -Wall -ansi -pedantic Exe=$(HOME)/bin/wisp CC=gcc all : local examples local : tar3 gawks tar3: cd c && $(CC) $(CFLAGS) -o $(Exe)/tar3 *.c -lm echo $(Exe)/tar3 examples : cd eg && make local #pack: # zip -r9 tar3-`date "+%m.%d.%y"`.zip . -x \.svn gawks : @$(foreach p, $(wildcard gawk/* ), \ (echo '#!'$(shell which gawk)' -f';cat $p)>$(Exe)/$(notdir $p); \ chmod +x $(Exe)/$(notdir $p);)