add msys2/mingw64 target

docking
radius 9 years ago
parent 7508d30b83
commit a465b2b3d8

@ -39,6 +39,16 @@ ifeq ($(UNAME_S), Darwin) #APPLE
CFLAGS = $(CXXFLAGS)
endif
ifeq ($(UNAME_S), MINGW64_NT-6.3)
ECHO_MESSAGE = "Windows"
LIBS = -lglfw3 -lgdi32 -lopengl32 -limm32
CXXFLAGS = -I../../ -I../libs/gl3w `pkg-config --cflags glfw3`
CXXFLAGS += -Wall -Wformat
CFLAGS = $(CXXFLAGS)
endif
.cpp.o:
$(CXX) $(CXXFLAGS) -c -o $@ $<
@ -50,4 +60,3 @@ $(EXE): $(OBJS)
clean:
rm $(EXE) $(OBJS)

Loading…
Cancel
Save