2016-10-07 03:46:48 +00:00
|
|
|
UNAME := $(shell uname)
|
|
|
|
|
|
|
|
ifeq ($(UNAME), Darwix)
|
|
|
|
GL := -framework OpenGL
|
|
|
|
else
|
|
|
|
GL := -lGL -lXrandr
|
|
|
|
endif
|
|
|
|
|
2005-07-18 22:28:27 +00:00
|
|
|
test: test.cpp GLFT_Font.cpp
|
2016-10-07 03:46:48 +00:00
|
|
|
g++ GLFT_Font.cpp test.cpp -o test -Wall -pedantic -lglfw $(GL) -lfreetype -pthread `freetype-config --cflags`
|
2005-07-18 22:37:52 +00:00
|
|
|
|
|
|
|
glftfont.tar.gz:
|
|
|
|
tar -czf glftfont.tar.gz GLFT_Font.cpp GLFT_Font.hpp index.html README test.cpp Makefile
|