Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (33 sloc) 0.864 kb
# Latehooks (experimental)
LATEHOOKS ?= 1
# Debug build (logging + debug symbols)
DEBUG ?= 0
# Destination directory when installing (used for packaging)
DESTDIR ?= /
# Destination prefix when installing
PREFIX ?= /usr
# Target platform
PLATFORM ?= harmattan
# Set to 1 for verbose compile output
V ?= 0
# Default linker flags
LDFLAGS += -fPIC -rdynamic -pthread -ldl -lz -lpng -ljpeg
ifeq ($(LATEHOOKS),1)
CFLAGS += -DAPKENV_LATEHOOKS
endif
ifeq ($(DEBUG),1)
CFLAGS += -g -Wall -DLINKER_DEBUG=1 -DAPKENV_DEBUG -Wformat=0
else
CFLAGS += -O2 -DLINKER_DEBUG=0
endif
ifeq ($(V),1)
SILENTMSG := @true
SILENTCMD :=
else
SILENTMSG := @echo
SILENTCMD := @
endif
# Expose some makefile variables as C macros
CFLAGS += -DAPKENV_PREFIX=\"$(PREFIX)\"
CFLAGS += -DAPKENV_TARGET=\"$(TARGET)\"
CFLAGS += -DAPKENV_PLATFORM=\"$(PLATFORM)\"
Jump to Line
Something went wrong with that request. Please try again.