blob: 5d17a4c3d0970bf6071dd4bd51de5865dfa58ba6 (
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
.PHONY: all clean remake
all: $(CXXTARGETS)
clean:
rm -rf $(CXXTARGETS) *.o *.dSYM
$(CXXTARGETS): %: %.cpp
$(CXX) $(CXXFLAGS) -o $@ $^
|