# # Common makefile include for tks-source and plugins # # # Cross compiler setup # # Host compiler (default) CROSS= # Code Sourcery ARMv7 #CROSS=arm-none-linux-gnueabi- # Montavista ARMv5 #CROSS=arm_v5t_le- # # Tool setup # AR = $(CROSS)ar CPP = $(CROSS)g++ CC = $(CROSS)gcc CP = cp -f INSTALL = ginstall MAKE = make RM = rm -f SED = sed TKS = tks ZIP = zip # # Where to install bin/tks, bin/tks.bin, lib/tks/ # TKS_PREFIX=/usr # # C compiler flags # CFLAGS= -Wall # # C++ compiler flags # CPPFLAGS= # # Linker flags # LDFLAGS= # # Extra includes # EXTRA_INCLUDES= #EXTRA_INCLUDES= -I/home/bsp/omap35x/zlib-1.2.3 # # Extra library paths # EXTRA_LIBS= #EXTRA_LIBS= -L/home/bsp/omap35x/zlib-1.2.3 # # Optimization flags # #OPTFLAGS= OPTFLAGS= -O3 # # Debug flags # DBGFLAGS= #DBGFLAGS= -g #DBGFLAGS= -g -pg #DBGFLAGS= -ggdb3 # # Nothing to change after this line----------------------------- # CFLAGS+= $(EXTRA_INCLUDES) CPPFLAGS+= $(EXTRA_INCLUDES) LDFLAGS+= $(EXTRA_LIBS)