main
Last change
on this file since c0a8b2a was c0a8b2a, checked in by Adrien Destugues <pulkomandy@…>, 7 years ago |
Initial work on implementing a standard PS/2 keyboard controller.
Complete with key matrix scanning.
|
-
Property mode
set to
100644
|
File size:
353 bytes
|
Rev | Line | |
---|
[c0a8b2a] | 1 | F_CPU=3800000
|
---|
| 2 | MCU=atmega128
|
---|
| 3 | BAUD=9600
|
---|
| 4 |
|
---|
| 5 | include ../common.mk
|
---|
| 6 |
|
---|
| 7 | COMPILE = $(CC) -Wall -std=c99 $(CFLAGS) -I../../libs/usart/
|
---|
| 8 |
|
---|
| 9 | VPATH=../../libs/usart/
|
---|
| 10 |
|
---|
| 11 | #Rules
|
---|
| 12 |
|
---|
| 13 | $(MCU).bin: main.o usart.o
|
---|
| 14 | $(COMPILE) $^ -o $@
|
---|
| 15 |
|
---|
| 16 | main.o: main.c
|
---|
| 17 | $(COMPILE) -c $^ -o $@
|
---|
| 18 |
|
---|
| 19 | #Generic rules
|
---|
| 20 | .S.o:
|
---|
| 21 | $(COMPILE) -x assembler-with-cpp -c $< -o $@
|
---|
| 22 |
|
---|
| 23 | .c.o:
|
---|
| 24 | $(COMPILE) -std=c99 -c $< -o $@
|
---|
| 25 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.