SRCS := timer_test.c
#SRCS := blink_led.c leds_test.o serial_test.c switch_test.c timer_test.c eeprom_test.c fw_app.c
BINS := $(SRCS:.c=.bin)
all: ${BINS}
#show: eeprom_test_disasm
# TODO
show: timer_test_disasm
leds_test.elf: leds.o
serial_test.elf: serial.o
switch_test.elf: debug.o serial.o
#timer_test.elf: timer.o leds.o debug.o serial.o
timer_test.elf: timer.o interrupt.o leds.o debug.o serial.o
eeprom_test.elf: eeprom.o i2c.o leds.o debug.o serial.o
#eeprom_test.elf: eeprom.o i2c.o interrupt.o debug.o serial.o
#fw_app.elf: leds.o pwm.o eeprom.o debug.o serial.o
.dep: ${SRCS}
@${CROSS_COMPILE}gcc ${CFLAGS} -MM $^ > .dep
allclean: clean
${RM} .dep a.out
include rules.mk
-include .dep
#SRCS := blink_led.c leds_test.o serial_test.c switch_test.c timer_test.c eeprom_test.c fw_app.c
BINS := $(SRCS:.c=.bin)
all: ${BINS}
#show: eeprom_test_disasm
# TODO
show: timer_test_disasm
leds_test.elf: leds.o
serial_test.elf: serial.o
switch_test.elf: debug.o serial.o
#timer_test.elf: timer.o leds.o debug.o serial.o
timer_test.elf: timer.o interrupt.o leds.o debug.o serial.o
eeprom_test.elf: eeprom.o i2c.o leds.o debug.o serial.o
#eeprom_test.elf: eeprom.o i2c.o interrupt.o debug.o serial.o
#fw_app.elf: leds.o pwm.o eeprom.o debug.o serial.o
.dep: ${SRCS}
@${CROSS_COMPILE}gcc ${CFLAGS} -MM $^ > .dep
allclean: clean
${RM} .dep a.out
include rules.mk
-include .dep
No comments:
Post a Comment