Source

euler / go / src / euler / Makefile

Full commit
LIBS_SRC=$(wildcard [a-z]*.go)
LIBS=$(LIBS_SRC:%.go=%.6)

SRC = $(wildcard [0-9]*.go)
PROGRAMS = $(SRC:%.go=%)

all: $(LIBS) $(PROGRAMS)

clean:
	rm -f $(PROGRAMS)
	rm -f $(LIBS)
	rm -f $(PROGRAMS:%=%.6)

fresh: clean all

.PHONY: all clean fresh