From 41d248f44205e57f44caf0c44f048fc2220a411f Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 21 Jul 2018 00:24:30 +0300 Subject: [PATCH] Fixed Makefile.mingw example --- example/Makefile.mingw | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/example/Makefile.mingw b/example/Makefile.mingw index 302e0722..247a818b 100644 --- a/example/Makefile.mingw +++ b/example/Makefile.mingw @@ -1,29 +1,22 @@ CXX ?= g++ -CXXFLAGS = -D_WIN32_WINNT=0x600 -march=native -Wall -Wextra -Wshadow -pedantic -std=gnu++0x -pthread -Wl,--no-as-needed -I../include +CXXFLAGS = -D_WIN32_WINNT=0x600 -march=native -Wall -Wextra -pedantic -std=gnu++0x -pthread -Wl,--no-as-needed -I../include CXX_RELEASE_FLAGS = -O3 CXX_DEBUG_FLAGS= -g -all: example bench -debug: example-debug bench-debug +all: example +debug: example-debug example: example.cpp $(CXX) example.cpp -o example $(CXXFLAGS) $(CXX_RELEASE_FLAGS) -bench: bench.cpp - $(CXX) bench.cpp -o bench $(CXXFLAGS) $(CXX_RELEASE_FLAGS) - example-debug: example.cpp $(CXX) example.cpp -o example-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS) - -bench-debug: bench.cpp - $(CXX) bench.cpp -o bench-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS) - clean: - rm -f *.o logs/*.txt example example-debug bench bench-debug + rm -f *.o logs/*.txt example example-debug rebuild: clean all