Skip to content

Commit

Permalink
Fix Windows settings should be set for Windows only.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed May 12, 2024
1 parent cefd3ee commit ad94b20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad94b20

Please sign in to comment.