summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3033da1be24904500ff7fb57870645b2f60360fc (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 solve_bt solve_bt_bfs

.PHONY: all clean remake

all: $(CXXTARGETS)

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


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