source: avrstuff/kbd/matrixtops2/Makefile@ c0a8b2a

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
Line 
1F_CPU=3800000
2MCU=atmega128
3BAUD=9600
4
5include ../common.mk
6
7COMPILE = $(CC) -Wall -std=c99 $(CFLAGS) -I../../libs/usart/
8
9VPATH=../../libs/usart/
10
11#Rules
12
13$(MCU).bin: main.o usart.o
14 $(COMPILE) $^ -o $@
15
16main.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.