git.haldean.org ana / d0f130d
clean up tupfiles a little Haldean Brown 3 years ago
2 changed file(s) with 19 addition(s) and 29 deletion(s). Raw diff Collapse all Expand all
0 CFLAGS += -Wall
1 CFLAGS += -Werror
2 CFLAGS += -isystem ../lib/glew-2.1.0/include
3 CFLAGS += -isystem ../lib/glfw-3.2.1/include
4 CFLAGS += -isystem ../lib/glm
5 CFLAGS += -I ../lib/imgui
6 CFLAGS += -I ../lib/imgui/examples
0 CXXFLAGS += /nologo
1 CXXFLAGS += /c
2 CXXFLAGS += /errorReport:prompt
3 CXXFLAGS += /W3
4 CXXFLAGS += /TP
5 CXXFLAGS += /Z7
6 CXXFLAGS += /EHsc
7 CXXFLAGS += /MD
8 CXXFLAGS += /WX
9 CXXFLAGS += /I../lib/glew-2.1.0/include
10 CXXFLAGS += /I../lib/glfw-3.2.1.bin.WIN64/include
11 CXXFLAGS += /I../lib/glm
12 CXXFLAGS += /I../lib/imgui
13 CXXFLAGS += /I../lib/imgui/examples
714
8 CCFLAGS += /nologo
9 CCFLAGS += /c
10 CCFLAGS += /errorReport:prompt
11 CCFLAGS += /W3
12 CCFLAGS += /TP
13 CCFLAGS += /Z7
14 CCFLAGS += /EHsc
15 CCFLAGS += /MD
16 CCFLAGS += /WX
17 CCFLAGS += /I../lib/glew-2.1.0/include
18 CCFLAGS += /I../lib/glfw-3.2.1.bin.WIN64/include
19 CCFLAGS += /I../lib/glm
20 CCFLAGS += /I../lib/imgui
21 CCFLAGS += /I../lib/imgui/examples
22
23 LINKFLAGS += /NOLOGO
24 LINKFLAGS += /WX
15 LDFLAGS += /NOLOGO
16 LDFLAGS += /WX
2517
2618 LIBRARIES += lib\glew-2.1.0\lib\Release\x64\glew32.lib
2719 LIBRARIES += lib\glfw-3.2.1.bin.WIN64\lib-vc2015\glfw3.lib
3022 LIBRARIES += glu32.lib
3123 LIBRARIES += shell32.lib
3224
33 # !cxx = |> g++ $(CFLAGS) -c %f -o %o |> %B.o
34 !cxx = |> cl %f $(CCFLAGS) /Fo%B.o |> %B.o
35 # !ar = |> ar crs %o %f |>
36 !link_exe = |> link $(LINKFLAGS) %f /OUT:%o $(LIBRARIES) |> %O.ilk
25 !cxx = |> cl %f $(CXXFLAGS) /Fo%B.o |> %B.o
26 !link_exe = |> link $(LDFLAGS) %f /OUT:%o $(LIBRARIES) |> %O.ilk
00 include_rules
11
2 CCFLAGS += /DIMGUI_IMPL_OPENGL_LOADER_GLEW
2 CXXFLAGS += /DIMGUI_IMPL_OPENGL_LOADER_GLEW
33
44 : foreach imgui/*.cpp imgui/examples/imgui_impl_opengl3.cpp imgui/examples/imgui_impl_glfw.cpp |> !cxx |>