Subversion Repositories svn.mios32

Rev

Rev 703 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
56 tk 1
# $Id: Makefile 1820 2013-09-01 15:44:33Z tk $
2
 
69 tk 3
################################################################################
4
# following setup taken from environment variables
5
################################################################################
56 tk 6
 
69 tk 7
PROCESSOR =	$(MIOS32_PROCESSOR)
8
FAMILY    = 	$(MIOS32_FAMILY)
9
BOARD	  = 	$(MIOS32_BOARD)
56 tk 10
 
69 tk 11
#explicitely select ST7637 display
12
#LCD       =     $(MIOS32_LCD)
13
LCD       =     st7637
56 tk 14
 
15
 
69 tk 16
################################################################################
17
# Source Files, include paths and libraries
18
################################################################################
56 tk 19
 
69 tk 20
THUMB_SOURCE    = app.c
56 tk 21
 
69 tk 22
# (following source stubs not relevant for Cortex M3 derivatives)
23
THUMB_AS_SOURCE =
24
ARM_SOURCE      =
25
ARM_AS_SOURCE   =
26
 
27
C_INCLUDE = 	-I .
28
A_INCLUDE = 	-I .
29
 
56 tk 30
LIBS =
31
 
32
 
69 tk 33
################################################################################
34
# Remaining variables
35
################################################################################
56 tk 36
 
69 tk 37
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
38
PROJECT   = 	project
56 tk 39
 
69 tk 40
DEBUG     =	-g
41
OPTIMIZE  =	-Os
56 tk 42
 
69 tk 43
CFLAGS =	$(DEBUG) $(OPTIMIZE)
56 tk 44
 
45
 
69 tk 46
################################################################################
47
# Include source modules via additional makefiles
48
################################################################################
56 tk 49
 
69 tk 50
# sources of programming model
56 tk 51
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
52
 
69 tk 53
# application specific LCD driver (selected via makefile variable)
54
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
56 tk 55
 
69 tk 56
# common make rules
1820 tk 57
# Please keep this include statement at the end of this Makefile. Add new modules above.
56 tk 58
include $(MIOS32_PATH)/include/makefile/common.mk