forked from pngwriter/pngwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake.include.linux
44 lines (31 loc) · 1 KB
/
make.include.linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
############## FREETYPE SUPPORT / SOPORTE PARA FREETYPE#####################
#
# Uncomment the following line if you do not wish to compile PNGwriter
# with FreeType2 support.
# (Please note that if you compile PNGwriter without FreeType2 support,
# all projects that you compile that use PNGwriter must be compiled with
# -DNO_FREETYPE).
#
# Descomenta la siguiente linea si no quieres compilar PNGwriter
# con soporte para FreeType2.
# (Nota que si compilas PNGwriter sin soporte para FreeType2, todos los
# proyectos que usen PNGwriter que compiles deberan ser compilados con
# -DNO_FREETYPE).
#
#
# P_FREETYPE = 1
#
# Alternatively, when compiling, call make with the option P_FREETYPE=1
PREFIX=/usr/local
DESTDIR=
ifdef P_FREETYPE
FT_ARG = -DNO_FREETYPE
else
FT_ARG = `freetype-config --cflags` `freetype-config --libs`
endif
CXX=g++
CXXFLAGS= -O3 -Wall -Wno-deprecated $(FT_ARG)
INC= -I../src/ -I$(PREFIX)/include/
LIBS= -L../src -L$(PREFIX)/lib/ -lz -lpng -lpngwriter
INSTALL=install
SELF=make.include.linux