-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlags.mk
23 lines (21 loc) · 1.01 KB
/
Flags.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CXX=g++
CC=gcc
SRC_DIR=/home/sme/for-github/qapla
#SRC_DIR=`pwd`
INCLUDE_PATHS= -I/usr/include/glib-2.0/glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/c++/4.6
INCLUDE_PATHS+= -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
INCLUDE_PATHS+= -I/usr/local/antlr3/include
INCLUDE_PATHS+= -I/usr/include/mysql
INCLUDE_PATHS+= -I/usr/include
INCLUDE_PATHS+= -I$(SRC_DIR)
LIB_PATHS= -L/usr/local/antlr3/lib -L/usr/local/mysql/lib -L/usr/lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.8 -L/usr/local/pcre/lib64
LIB_PATHS+=-L$(SRC_DIR)/lib
LIBS= `pkg-config --libs glib-2.0` -lm -lantlr3c
CLIBS=`pkg-config --libs glib-2.0`
#CFLAGS=-D_GNU_SOURCE -O0 $(INCLUDE_PATHS) -Wno-write-strings
#CXXFLAGS=-D_GNU_SOURCE -O0 $(INCLUDE_PATHS) -Wno-write-strings
#CFLAGS=-g -D_GNU_SOURCE -O0 $(INCLUDE_PATHS) -Wno-write-strings
#CXXFLAGS=-g -D_GNU_SOURCE -O0 $(INCLUDE_PATHS) -Wno-write-strings
CFLAGS=-D_GNU_SOURCE -O3 $(INCLUDE_PATHS) -Wno-write-strings
CXXFLAGS=-D_GNU_SOURCE -O3 $(INCLUDE_PATHS) -Wno-write-strings
EXTRA_FLAGS=-fPIC