glftfont/Makefile

14 lines
358 B
Makefile
Raw Normal View History

2016-10-07 03:46:48 +00:00
UNAME := $(shell uname)
2016-10-07 16:10:10 +00:00
ifeq ($(UNAME), Darwin)
2016-10-07 03:46:48 +00:00
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