diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ CXX = g++ CXXFLAGS = -Wall -Wextra -std=c++11 -O2 -fwrapv +LDFLAGS = -pthread .PHONY: all clean remake @@ -13,7 +14,7 @@ remake: clean roots: $(patsubst %.cpp,%.o,$(wildcard *.cpp)) - $(CXX) -o $@ $^ + $(CXX) -o $@ $^ $(LDFLAGS) %.o: %.cpp $(wildcard *.h) $(CXX) $(CXXFLAGS) -c -o $@ $< |