-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing win32 makefile for font atlas demo
- Loading branch information
1 parent
b40daae
commit b50f47e
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
CC = g++ | ||
FLAGS = -Wall -pedantic | ||
STA_LIB = ../third_party/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3dll.a ../third_party/glew-2.1.0/lib/Release/x64/glew32.lib | ||
DYN_LIB = -lOpenGL32 -L ./ -lglew32 -lglfw3 -lm | ||
INC = -I ../third_party/glfw-3.4.bin.WIN64/include/ -I ../third_party/glew-2.1.0/include/ -I ../third_party/freetype/include/ | ||
|
||
all: copy_lib generator viewer | ||
|
||
copy_lib: | ||
copy ..\third_party\glew-2.1.0\bin\Release\x64\glew32.dll .\ ^ | ||
copy ..\third_party\glfw-3.4.bin.WIN64\lib-mingw-w64\glfw3.dll .\ | ||
|
||
generator: | ||
$(CC) $(FLAGS) -o generate generator_main.cpp $(INC) ../third_party/freetype/lib/freetype.a | ||
|
||
viewer: | ||
$(CC) $(FLAGS) -o view viewer_main.cpp maths_funcs.cpp $(INC) $(STA_LIB) $(DYN_LIB) | ||
|
||
clean: | ||
del /q $(BIN).* *.dll |