diff --git a/Makefile b/Makefile index 468b153..6754b3a 100644 --- a/Makefile +++ b/Makefile @@ -36,9 +36,11 @@ CXXFLAGS += -g -O3 -std=gnu++11 -pipe -Wall -Wextra -fPIC CPPFLAGS := -I"$(CURDIR)/$(INCLUDEDIR)" LDLIBS := -L"$(CURDIR)/$(LIBDIR)" AR := ar +ifeq ($(OS), Windows_NT) # for Mingw-w64 CC := gcc CXX := g++ +endif TESTS := test1 \ test2