about summary refs log tree commit diff homepage
path: root/stp/Makefile.common.in
blob: a88e35eddeabcb7f9ffff6fc68928bb17b61da3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- Makefile -*-

CFLAGS := @CFLAGS@
CXXFLAGS := @CXXFLAGS@ -O2
LDFLAGS := @LDFLAGS@ -lstdc++

# use the darmin test as a proxy for detecting Mac OS X
ifneq ($(shell uname -s), Darwin)
  CFLAGS += -static
endif

CXXFLAGS += -Wall -DEXT_HASH_MAP

LEX := flex
YACC := bison -d -y --debug -v
RANLIB := ranlib