Subversion Repositories svn.mios32

Rev

Rev 604 | Blame | Compare with Previous | Last modification | View Log | RSS feed

# $Id: Makefile 69 2008-10-06 22:24:22Z tk $

################################################################################
# following setup taken from environment variables
################################################################################

PROCESSOR = $(MIOS32_PROCESSOR)
FAMILY    =     $(MIOS32_FAMILY)
BOARD     =     $(MIOS32_BOARD)
LCD       =     $(MIOS32_LCD)


################################################################################
# Source Files, include paths and libraries
################################################################################

THUMB_SOURCE    = app.c \
                                    display.c \
                                    sysex.c \
                                    control.c \
                                    externalheaders.c 

# (following source stubs not relevant for Cortex M3 derivatives)
THUMB_AS_SOURCE =
ARM_SOURCE      =
ARM_AS_SOURCE   =

C_INCLUDE =     -I .
A_INCLUDE =     -I .

LIBS =      


################################################################################
# Remaining variables
################################################################################

LD_FILE   =     $(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
PROJECT   =     project

DEBUG     = $(DEBUG_PARAMETERS)
OPTIMIZE  = $(OPTIMIZATION_PARAMETERS)

CFLAGS =    $(DEBUG) $(OPTIMIZE) -DDEBUG_VERBOSE_LEVEL=$(DEBUG_VERBOSE_LEVEL)

################################################################################
# Include source modules via additional makefiles
################################################################################

# sources of programming model
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk

# application specific LCD driver (selected via makefile variable)
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk

# common make rules
# Please keep this include statement at the end of this Makefile. Add new modules above.
include $(MIOS32_PATH)/include/makefile/common.mk