blob: 7f3023611dcce0aa1639f398d4383e585c85e55c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
include $(TOP)/configs/default
CONFIG_NAME = debian
CC = cc
CXX = c++
DEBIAN_COMMON_CPPFLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_XSHM -DPTHREADS `pkg-config --cflags x11 xext`
DEBIAN_COMMON_CFLAGS = -ansi -pedantic -Wall -fPIC -std=c99
DEBIAN_COMMON_CXXFLAGS = -ansi -pedantic -Wall -fPIC
DEBIAN_OPT_CFLAGS = -O2
CFLAGS = $(DEBIAN_COMMON_CPPFLAGS) $(DEBIAN_COMMON_CFLAGS) $(DEBIAN_OPT_CFLAGS)
CXXFLAGS = $(DEBIAN_COMMON_CPPFLAGS) $(DEBIAN_COMMON_CXXFLAGS) $(DEBIAN_OPT_CFLAGS)
GLW_SOURCES += GLwMDrawA.c
GL_LIB_DEPS = `pkg-config --libs x11 xext` -lm -lpthread
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) `pkg-config --libs x11 xt` -lXm
|