3 # include config if present
4 -include $(topdir)/Config
8 exec_prefix = $(prefix)
10 includedir = $(prefix)/include
11 libdir = $(prefix)/lib
12 libexecdir = $(exec_prefix)/libexec
13 datadir = $(prefix)/share
14 sysconfdir = $(prefix)/etc
15 localstatedir = $(prefix)/var
16 infodir = $(prefix)/info
17 mandir = $(prefix)/man
19 pkgdatadir = $(datadir)/moe/$(PACKAGE_MAJOR).$(PACKAGE_MINOR)
20 pkglibdir = $(libdir)/moe/$(PACKAGE_MAJOR).$(PACKAGE_MINOR)
21 pkgincludedir = $(includedir)/moe
24 CC = $(CROSS_COMPILE)gcc
25 AR = $(CROSS_COMPILE)ar
28 DFLAGS = -ggdb -O2 -DDEBUG
39 CFLAGS += -pipe $(OPTFLAGS) $(DFLAGS) $(PFLAGS)
40 override CFLAGS += -std=c99 -Wall -finline
41 LDFLAGS += -pipe $(OPTFLAGS) $(DFLAGS) $(PFLAGS)