glftfont/Makefile
2016-10-06 23:50:01 -04:00

14 lines
358 B
Makefile

UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
GL := -framework OpenGL
else
GL := -lGL -lXrandr
endif
test: test.cpp GLFT_Font.cpp
g++ GLFT_Font.cpp test.cpp -o test -Wall -pedantic -lglfw $(GL) -lfreetype -pthread `freetype-config --cflags`
glftfont.tar.gz:
tar -czf glftfont.tar.gz GLFT_Font.cpp GLFT_Font.hpp index.html README test.cpp Makefile