Update template
This commit is contained in:
@@ -33,7 +33,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
bounce1.out: bounce1.o pio.o system.o timer.o pacer.o
|
bounce1.out: bounce1.o pio.o system.o timer.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
bounce2.out: bounce2.o pio.o system.o timer.o display.o ledmat.o pacer.o
|
bounce2.out: bounce2.o pio.o system.o timer.o display.o ledmat.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
bounce3.out: bounce3.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
bounce3.out: bounce3.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
bounce4.out: bounce4.o pio.o system.o timer.o display.o ledmat.o boing.o font.o pacer.o tinygl.o
|
bounce4.out: bounce4.o pio.o system.o timer.o display.o ledmat.o boing.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
bounce5.out: bounce5.o pio.o system.o timer.o display.o ledmat.o boing.o font.o pacer.o tinygl.o
|
bounce5.out: bounce5.o pio.o system.o timer.o display.o ledmat.o boing.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
chooser.out: chooser.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
chooser.out: chooser.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -27,7 +27,8 @@ system.o: ../../drivers/avr/system.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
demo1.out: demo1.o pio.o system.o
|
demo1.out: demo1.o pio.o system.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -30,7 +30,8 @@ led.o: ../../drivers/led.c ../../drivers/avr/pio.h ../../drivers/avr/system.h ..
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
demo2.out: demo2.o pio.o system.o led.o
|
demo2.out: demo2.o pio.o system.o led.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
fonttest1.out: fonttest1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
fonttest1.out: fonttest1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
hello1.out: hello1.o pio.o system.o timer.o ledmat.o pacer.o
|
hello1.out: hello1.o pio.o system.o timer.o ledmat.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
hello2.out: hello2.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
hello2.out: hello2.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
hello3.out: hello3.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
hello3.out: hello3.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
hello4.out: hello4.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
hello4.out: hello4.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
hello5.out: hello5.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
hello5.out: hello5.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -51,7 +51,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_grab1.out: ir_grab1.o pio.o system.o timer.o display.o ir.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_grab1.out: ir_grab1.o pio.o system.o timer.o display.o ir.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
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
|
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
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_grab3.out: ir_grab3.o eeprom.o pio.o system.o timer.o button.o display.o ir.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_grab3.out: ir_grab3.o eeprom.o pio.o system.o timer.o button.o display.o ir.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_serial_test1.out: ir_serial_test1.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_serial_test1.out: ir_serial_test1.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_serial_test2.out: ir_serial_test2.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_serial_test2.out: ir_serial_test2.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_serial_test3.out: ir_serial_test3.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_serial_test3.out: ir_serial_test3.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_uart_test1.out: ir_uart_test1.o ir_uart.o pio.o prescale.o system.o timer.o timer0.o usart1.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_uart_test1.out: ir_uart_test1.o ir_uart.o pio.o prescale.o system.o timer.o timer0.o usart1.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
ir_uart_test2.out: ir_uart_test2.o ir_uart.o pio.o prescale.o system.o timer.o timer0.o usart1.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
ir_uart_test2.out: ir_uart_test2.o ir_uart.o pio.o prescale.o system.o timer.o timer0.o usart1.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -36,7 +36,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led0.out: led0.o pio.o system.o timer.o led.o pacer.o
|
led0.out: led0.o pio.o system.o timer.o led.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -36,7 +36,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led1.out: led1.o pio.o system.o timer.o led.o pacer.o
|
led1.out: led1.o pio.o system.o timer.o led.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -39,7 +39,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led2.out: led2.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
led2.out: led2.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -39,7 +39,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led3.out: led3.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
led3.out: led3.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -39,7 +39,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led4.out: led4.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
led4.out: led4.o pio.o system.o timer.o led.o navswitch.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -33,7 +33,8 @@ led.o: ../../drivers/led.c ../../drivers/avr/pio.h ../../drivers/avr/system.h ..
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
led5.out: led5.o pio.o system.o timer.o led.o
|
led5.out: led5.o pio.o system.o timer.o led.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -27,7 +27,8 @@ system.o: ../../drivers/avr/system.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
pio1.out: pio1.o pio.o system.o
|
pio1.out: pio1.o pio.o system.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -27,7 +27,8 @@ system.o: ../../drivers/avr/system.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
pio2.out: pio2.o pio.o system.o
|
pio2.out: pio2.o pio.o system.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -30,7 +30,8 @@ timer.o: ../../drivers/avr/timer.c ../../drivers/avr/system.h ../../drivers/avr/
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
pio3.out: pio3.o pio.o system.o timer.o
|
pio3.out: pio3.o pio.o system.o timer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
# Definitions.
|
# Definitions.
|
||||||
CC = avr-gcc
|
CC = avr-gcc
|
||||||
CFLAGS = -mmcu=atmega32u2 -Os -Wall -Wstrict-prototypes -Wextra -g -I../../drivers -I../../fonts -I../../drivers/avr -I../../utils
|
CFLAGS = -mmcu=atmega32u2 -Os -Wall -Wstrict-prototypes -Wextra -g -I../../drivers -I../../drivers/avr -I../../utils
|
||||||
OBJCOPY = avr-objcopy
|
OBJCOPY = avr-objcopy
|
||||||
SIZE = avr-size
|
SIZE = avr-size
|
||||||
DEL = rm
|
DEL = rm
|
||||||
@@ -16,7 +16,7 @@ all: scribble1.out
|
|||||||
|
|
||||||
|
|
||||||
# Compile: create object files from C source files.
|
# Compile: create object files from C source files.
|
||||||
scribble1.o: scribble1.c ../../drivers/avr/system.h ../../drivers/button.h ../../drivers/display.h ../../drivers/led.h ../../drivers/navswitch.h ../../fonts/font5x7_1.h ../../utils/font.h ../../utils/pacer.h ../../utils/tinygl.h
|
scribble1.o: scribble1.c ../../drivers/avr/system.h ../../drivers/button.h ../../drivers/display.h ../../drivers/led.h ../../drivers/navswitch.h ../../utils/font.h ../../utils/pacer.h ../../utils/tinygl.h
|
||||||
$(CC) -c $(CFLAGS) $< -o $@
|
$(CC) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
pio.o: ../../drivers/avr/pio.c ../../drivers/avr/pio.h ../../drivers/avr/system.h
|
pio.o: ../../drivers/avr/pio.c ../../drivers/avr/pio.h ../../drivers/avr/system.h
|
||||||
@@ -54,7 +54,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
scribble1.out: scribble1.o pio.o system.o timer.o button.o display.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
scribble1.out: scribble1.o pio.o system.o timer.o button.o display.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
snake1.out: snake1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
snake1.out: snake1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
space10.out: space10.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o font.o pacer.o tinygl.o uint8toa.o
|
space10.out: space10.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o font.o pacer.o tinygl.o uint8toa.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
space11.out: space11.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o font.o task.o tinygl.o uint8toa.o
|
space11.out: space11.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o font.o task.o tinygl.o uint8toa.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -72,7 +72,8 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
space12.out: space12.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o mmelody.o ticker.o tweeter.o font.o task.o tinygl.o uint8toa.o
|
space12.out: space12.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o mmelody.o ticker.o tweeter.o font.o task.o tinygl.o uint8toa.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ uint8toa.o: ../../utils/uint8toa.c ../../drivers/avr/system.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
space9.out: space9.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o uint8toa.o
|
space9.out: space9.o flasher.o spacey.o eeprom.o pio.o system.o timer.o display.o led.o ledmat.o navswitch.o font.o pacer.o tinygl.o uint8toa.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
spacey_remote1.out: spacey_remote1.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
spacey_remote1.out: spacey_remote1.o pio.o system.o timer.o display.o ir.o ir_serial.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ task.o: ../../utils/task.c ../../drivers/avr/system.h ../../drivers/avr/timer.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
squeak0.out: squeak0.o pio.o system.o timer.o mmelody.o ticker.o tweeter.o task.o
|
squeak0.out: squeak0.o pio.o system.o timer.o mmelody.o ticker.o tweeter.o task.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ task.o: ../../utils/task.c ../../drivers/avr/system.h ../../drivers/avr/timer.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
squeak1.out: squeak1.o pio.o system.o timer.o led.o mmelody.o ticker.o tweeter.o task.o
|
squeak1.out: squeak1.o pio.o system.o timer.o led.o mmelody.o ticker.o tweeter.o task.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ task.o: ../../utils/task.c ../../drivers/avr/system.h ../../drivers/avr/timer.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
squeak2.out: squeak2.o pio.o system.o timer.o button.o led.o mmelody.o ticker.o tweeter.o task.o
|
squeak2.out: squeak2.o pio.o system.o timer.o button.o led.o mmelody.o ticker.o tweeter.o task.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
squeak3.out: squeak3.o pio.o system.o timer.o button.o display.o led.o ledmat.o navswitch.o ticker.o tweeter.o font.o task.o tinygl.o
|
squeak3.out: squeak3.o pio.o system.o timer.o button.o display.o led.o ledmat.o navswitch.o ticker.o tweeter.o font.o task.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
squeak4.out: squeak4.o pio.o system.o timer.o button.o display.o led.o ledmat.o mmelody.o ticker.o tweeter.o font.o task.o tinygl.o
|
squeak4.out: squeak4.o pio.o system.o timer.o button.o display.o led.o ledmat.o mmelody.o ticker.o tweeter.o font.o task.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
steer1.out: steer1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
steer1.out: steer1.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
stopwatch1.out: stopwatch1.o pio.o system.o timer.o button.o display.o ledmat.o font.o task.o tinygl.o
|
stopwatch1.out: stopwatch1.o pio.o system.o timer.o button.o display.o ledmat.o font.o task.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -36,7 +36,8 @@ task.o: ../../utils/task.c ../../drivers/avr/system.h ../../drivers/avr/timer.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
task1.out: task1.o pio.o system.o timer.o led.o task.o
|
task1.out: task1.o pio.o system.o timer.o led.o task.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
+2
-1
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
task2.out: task2.o pio.o system.o timer.o display.o led.o ledmat.o font.o task.o tinygl.o
|
task2.out: task2.o pio.o system.o timer.o display.o led.o ledmat.o font.o task.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
tdmdemo1.out: tdmdemo1.o pio.o system.o timer.o ledmat.o pacer.o
|
tdmdemo1.out: tdmdemo1.o pio.o system.o timer.o ledmat.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ pacer.o: ../../utils/pacer.c ../../drivers/avr/system.h ../../drivers/avr/timer.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
tdmdemo2.out: tdmdemo2.o pio.o system.o timer.o ledmat.o navswitch.o pacer.o
|
tdmdemo2.out: tdmdemo2.o pio.o system.o timer.o ledmat.o navswitch.o pacer.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
updown1.out: updown1.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
updown1.out: updown1.o pio.o system.o timer.o display.o ledmat.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ tinygl.o: ../../utils/tinygl.c ../../drivers/avr/system.h ../../drivers/display.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Link: create ELF output file from object files.
|
|
||||||
|
# Link: create output file (executable) from object files.
|
||||||
updown2.out: updown2.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
updown2.out: updown2.o pio.o system.o timer.o display.o ledmat.o navswitch.o font.o pacer.o tinygl.o
|
||||||
$(CC) $(CFLAGS) $^ -o $@ -lm
|
$(CC) $(CFLAGS) $^ -o $@ -lm
|
||||||
$(SIZE) $@
|
$(SIZE) $@
|
||||||
|
|||||||
Reference in New Issue
Block a user