Break out font stuff into new module
This commit is contained in:
@@ -40,6 +40,9 @@ ledmat.o: ../../drivers/ledmat.c ../../drivers/avr/pio.h ../../drivers/avr/syste
|
||||
navswitch.o: ../../drivers/navswitch.c ../../drivers/avr/delay.h ../../drivers/avr/pio.h ../../drivers/avr/system.h ../../drivers/navswitch.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
font.o: ../../utils/font.c ../../drivers/avr/system.h ../../utils/font.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.h ../../utils/pacer.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
@@ -52,7 +55,7 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
||||
|
||||
|
||||
# Link: create ELF output file from object files.
|
||||
ir_grab2.out: ir_grab2.o pio.o system.o timer.o display.o ir.o ledmat.o navswitch.o pacer.o tinygl.o uint8toa.o
|
||||
ir_grab2.out: ir_grab2.o pio.o system.o timer.o display.o ir.o ledmat.o navswitch.o font.o pacer.o tinygl.o uint8toa.o
|
||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||
$(SIZE) $@
|
||||
|
||||
|
||||
@@ -41,6 +41,9 @@ system-test.o: ../../drivers/test/system.c ../../drivers/test/avrtest.h ../../dr
|
||||
timer-test.o: ../../drivers/test/timer.c ../../drivers/test/system.h ../../drivers/test/timer.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
font-test.o: ../../utils/font.c ../../drivers/test/system.h ../../utils/font.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
pacer-test.o: ../../utils/pacer.c ../../drivers/test/system.h ../../drivers/test/timer.h ../../utils/pacer.h
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
@@ -54,14 +57,14 @@ uint8toa-test.o: ../../utils/uint8toa.c ../../drivers/test/system.h
|
||||
|
||||
|
||||
# Link: create executable file from object files.
|
||||
ir_grab2: ir_grab2-test.o display-test.o ir-test.o ledmat-test.o navswitch-test.o mgetkey-test.o pio-test.o system-test.o timer-test.o pacer-test.o tinygl-test.o uint8toa-test.o
|
||||
ir_grab2: ir_grab2-test.o display-test.o ir-test.o ledmat-test.o navswitch-test.o mgetkey-test.o pio-test.o system-test.o timer-test.o font-test.o pacer-test.o tinygl-test.o uint8toa-test.o
|
||||
$(CC) $(CFLAGS) $^ -o $@ -lrt
|
||||
|
||||
|
||||
# Clean: delete derived files.
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-$(DEL) ir_grab2 ir_grab2-test.o display-test.o ir-test.o ledmat-test.o navswitch-test.o mgetkey-test.o pio-test.o system-test.o timer-test.o pacer-test.o tinygl-test.o uint8toa-test.o
|
||||
-$(DEL) ir_grab2 ir_grab2-test.o display-test.o ir-test.o ledmat-test.o navswitch-test.o mgetkey-test.o pio-test.o system-test.o timer-test.o font-test.o pacer-test.o tinygl-test.o uint8toa-test.o
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user