Added time tracking fields
[ttodo.git] / Config.mk
blob6130cf7013cc061921abe841eaf40a20249f66c4
1 ################ Program version #####################################
3 EXE = todo
4 MAJOR = 0
5 MINOR = 1
6 BUILD = 0
8 ################ Programs ############################################
10 CXX = g++
11 LD = gcc
12 AR = ar
13 RANLIB = ranlib
14 DOXYGEN = doxygen
15 INSTALL = /usr/bin/install
17 ################ Destination #########################################
19 prefix = /home/msharov
20 exec_prefix = /home/msharov
21 BINDIR = /home/msharov/bin
22 INCDIR = /home/msharov/include
23 LIBDIR = /home/msharov/lib
25 ################ Compiler options ####################################
27 CXXWARNOPTS = -Wall -W -Winline -Wpointer-arith -Wredundant-decls -Wshadow \
28 -Wno-cast-align -Wsign-promo -Wsynth -Wcast-qual -Wconversion \
29 -Wwrite-strings -Woverloaded-virtual
30 OTHER_OPTS = -mmmx -msse -mfpmath=sse -msse2 -m3dnow \
31 --param max-inline-insns-single=1024 \
32 --param large-function-growth=65535 \
33 --param inline-unit-growth=1024 \
34 -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs -fuse-cxa-atexit
36 DEBUG = 1
38 CXXFLAGS = -I/home/msharov/include ${CXXWARNOPTS} ${OTHER_OPTS}
39 LDFLAGS = -L/home/msharov/lib
40 ifdef DEBUG
41 CXXFLAGS += -O0 -g
42 else
43 CXXFLAGS += -Os -DNDEBUG=1 -fomit-frame-pointer
44 endif
46 ################ Linker options ######################################
48 LIBS = -lutui -lutio -liff -lustl