NAME=sourcelines MAIN=sourcelines all: test %.tar.gz:%.tar gzip -9 -f $< $(NAME).tar: *.rb sourcelines run_test testfiles Makefile tar cvf $@ $^ dist: $(NAME).tar.gz test: run_test @rm -f testfiles/*~ @chmod +x $< @./$< allclean: clean rm -f $(NAME).tar $(NAME).tar.gz clean: rm -rf *~ testfiles/*~ scratch