File: Makefile.Linux

package info (click to toggle)
maria 1.3.5-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,980 kB
  • ctags: 5,458
  • sloc: cpp: 43,402; yacc: 8,080; ansic: 436; sh: 404; lisp: 395; makefile: 291; perl: 21
file content (24 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### Target-specific definitions for compiling Maria -*- makefile -*-
### Linux and GNU Compiler Collection (2.95, 3.0 and 3.2)

## The GNU Readline library (if enabled, check also the directories)
HAS_READLINE = yes
#HAS_READLINE =
LIBREADLINE = $(HAS_READLINE:yes=-L/usr/local/lib -lreadline -lncurses)
INCREADLINE = $(HAS_READLINE:yes=-I/usr/local/include -DHAS_READLINE)

## Support for compiled expressions
EXPR_COMPILE = yes
#EXPR_COMPILE =

CXX = g++
CC = gcc
EXTRA_INCLUDES =
EXTRA_LIBS = -ldl# -lstlport
DEFINES = -DHAS_REGEX -D_GNU_SOURCE -DHAS_GETOPT_LONG
CFLAGS = -Wall -ansi -pedantic -g
CXXFLAGS = $(CFLAGS) $(CXXOPTFLAGS) -Iport -fno-exceptions -fno-rtti

all: real-all

include Makefile