Source

euler / cpp / Makefile

Full commit
CXX = clang++

ALL = 01-sum-numbers \
	  02-sum-fibonacci \
	  03-prime-factors

all: $(ALL)

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

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

03-prime-factors: 03-prime-factors.cpp
	$(CXX) -o $@ $<

clean:
	rm -f $(ALL)