Source

euler / cpp / Makefile

CXX = clang++

ALL = 01-sum-numbers \
	  02-sum-fibonacci

all: $(ALL)

01-sum-numbers: 01-sum-numbers.cpp
	$(CXX) -o $@ $<

02-sum-fibonacci: 02-sum-fibonacci.cpp
	$(CXX) -o $@ $<

clean:
	rm -f $(ALL)