Changeset b83dc2a in avrstuff for kbd/ps2toserial/code/Makefile
- Timestamp:
- Jul 28, 2014, 8:47:03 PM (10 years ago)
- Branches:
- main
- Children:
- f51aacc
- Parents:
- 39e523d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kbd/ps2toserial/code/Makefile
r39e523d rb83dc2a 1 keyboard.hex: keyboard.bin 2 avr-objcopy -j .text -j .data -O ihex keyboard.bin keyboard.hex 1 MCU=atmega8 2 3 include ../../common.mk 4 5 all: keyboard.hex 3 6 4 7 keyboard.bin: keyboard.o usart.o main.o 5 avr-gcc keyboard.o usart.o main.o -o keyboard.bin -mmcu=atmega8-Os8 $(CC) $^ -o $@ -mmcu=$(MCU) -Os 6 9 7 main.o: main.c ../../libs/usart/usart.h ../../libs/ps2_keyboard/ps2_keyboard.h8 avr-gcc -c main.c -mmcu=atmega8 -Os -o main.o -mmcu=atmega8-Os10 main.o: main.c $(LIBS)/usart/usart.h $(LIBS)/ps2_keyboard/ps2_keyboard.h 11 $(CC) -c $< -Os -o $@ -mmcu=$(MCU) -Os 9 12 10 usart.o: ../../libs/usart/usart.c ../../libs/usart/usart.h11 avr-gcc -c ../../libs/usart/usart.c -o usart.o -mmcu=atmega8-Os13 usart.o: $(LIBS)/usart/usart.c $(LIBS)/usart/usart.h 14 $(CC) -c $< -o $@ -mmcu=$(MCU) -Os 12 15 13 keyboard.o: ../../libs/ps2_keyboard/ps2_keyboard.c ../../libs/ps2_keyboard/ps2_keyboard.h ../../libs/ps2_keyboard/keymap.h14 avr-gcc -c ../../libs/ps2_keyboard/ps2_keyboard.c -mmcu=atmega8 -Os -o keyboard.o16 keyboard.o: $(LIBS)/ps2_keyboard/ps2_keyboard.c $(LIBS)/ps2_keyboard/ps2_keyboard.h $(LIBS)/ps2_keyboard/keymap.h 17 $(CC) -c $< -mmcu=$(MCU) -Os -o $@
Note:
See TracChangeset
for help on using the changeset viewer.