mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Merge pull request #361 from fr500/master
Examples: OpenGL3: Add msys2/mingw64 target.
This commit is contained in:
commit
379079ac42
@ -39,6 +39,16 @@ ifeq ($(UNAME_S), Darwin) #APPLE
|
|||||||
CFLAGS = $(CXXFLAGS)
|
CFLAGS = $(CXXFLAGS)
|
||||||
endif
|
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:
|
.cpp.o:
|
||||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
@ -50,4 +60,3 @@ $(EXE): $(OBJS)
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(EXE) $(OBJS)
|
rm $(EXE) $(OBJS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user