Subversion Repositories svn.mios


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

# $Id: Makefile 285 2008-04-23 20:31:07Z tk $

# default flags to GPASM here

# include pathes (more will be added by files)
GPASM_INCLUDE = -I $(MIOS_PATH)/include/asm

# optional defines that should be passed to GPASM

# default rule that defines the .hex files which should be created
# note: always require a "cleanall", since dependencies (e.g. on .h and .inc files) are not properly declared
all: cleanall bootloader_p18f452.hex bootloader_p18f4620.hex bootloader_p18f4520.hex bootloader_p18f4682.hex bootloader_p18f4685.hex

bootloader_p18f452.hex: main.asm
    gpasm $< $(GPASM_FLAGS) $(GPASM_INCLUDE) $(GPASM_DEFINES) -p 18f452 -o bootloader_p18f452.hex

bootloader_p18f4520.hex: main.asm
    gpasm $< $(GPASM_FLAGS) $(GPASM_INCLUDE) $(GPASM_DEFINES) -p 18f4520 -o bootloader_p18f4520.hex

bootloader_p18f4620.hex: main.asm
    gpasm $< $(GPASM_FLAGS) $(GPASM_INCLUDE) $(GPASM_DEFINES) -p 18f4620 -o bootloader_p18f4620.hex

bootloader_p18f4682.hex: main.asm
    gpasm $< $(GPASM_FLAGS) $(GPASM_INCLUDE) $(GPASM_DEFINES) -p 18f4682 -o bootloader_p18f4682.hex

bootloader_p18f4685.hex: main.asm
    gpasm $< $(GPASM_FLAGS) $(GPASM_INCLUDE) $(GPASM_DEFINES) -p 18f4685 -o bootloader_p18f4685.hex

# include the file
include $(MIOS_PATH)/include/makefile/