summaryrefslogtreecommitdiff
path: root/Makefile
blob: 89c0b2696c34caa17928bbfe7ce887cefd47b932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CXX = g++
CXXFLAGS = -Wall -Wextra -std=c++11 -fwrapv -O2
CXXTARGETS = solve solve2

.PHONY: all clean remake

all: $(CXXTARGETS)

clean:
	rm -rf $(CXXTARGETS) *.o *.dSYM


$(CXXTARGETS): %: %.cpp
	$(CXX) $(CXXFLAGS) -o $@ $^