Subversion Repositories svn.mios

Rev

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

Rev Author Line No. Line
44 tk 1
# $Id: Makefile 44 2008-01-30 21:39:30Z tk $
15 tk 2
 
22 tk 3
# define the processor, linker file and project name
4
PROCESSOR = p18f452
5
LKR_FILE  = $(MIOS_PATH)/etc/lkr/$(PROCESSOR).lkr
6
PROJECT   = project
15 tk 7
 
22 tk 8
# list of objects that should be created and linked
9
OBJS = pic18f452.o mios_wrapper.o main.o iic_midi.o iic_midi_tick.o int_midi.o midi_rxtx_leds.o router.o
15 tk 10
 
22 tk 11
# include pathes (more will be added by .mk files)
32 tk 12
GPASM_INCLUDE =
13
SDCC_INCLUDE  =
15 tk 14
 
25 tk 15
# optional defines that should be passed to GPASM/SDCC
22 tk 16
GPASM_DEFINES = -DDEBUG_MODE=0
17
SDCC_DEFINES  = -DDEBUG_MODE=0
15 tk 18
 
22 tk 19
# pass parameters to MIOS wrapper
20
MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f \
21
                       -DDONT_INCLUDE_MIOS_ENC_TABLE \
22
                       -DENABLE_MIDI_NOTIFY_RX -DENABLE_MIDI_NOTIFY_TX
23
 
25 tk 24
# directories and files that should be part of the distribution (release) package
25
# more will be added by *.mk files
26
DIST = ./
22 tk 27
 
25 tk 28
 
22 tk 29
# include the common.mk file
15 tk 30
include $(MIOS_PATH)/include/makefile/common.mk
22 tk 31
 
30 tk 32
# include additional module specific make rules
15 tk 33
include $(MIOS_PATH)/modules/midi_rxtx_leds/midi_rxtx_leds.mk
34
include $(MIOS_PATH)/modules/iic_midi/iic_midi.mk