Changeset 6d8c366 in avrstuff for chiptest/Makefile


Ignore:
Timestamp:
Jul 29, 2014, 10:37:32 PM (10 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
d31c2f5
Parents:
cd3a9ac
Message:

Chiptest: use libusart.

git-svn-id: svn://pulkomandy.tk/avrstuff@110 c6672c3c-f6b6-47f9-9001-1fd6b12fecbe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chiptest/Makefile

    rcd3a9ac r6d8c366  
    77# Common
    88MCU=attiny2313
     9BAUD=9600
    910
    1011all: blinkdel.hex
     
    1213include ../kbd/common.mk
    1314
    14 COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU)
     15COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) \
     16        -I../libs/usart/
     17
     18VPATH=../libs/usart/
    1519
    1620#Rules
    1721
    18 blinkdel.bin: main.o
    19         $(COMPILE) main.o -o blinkdel.bin
     22blinkdel.bin: main.o usart.o
     23        $(COMPILE) $^ -o $@
    2024
    2125main.o: main.c
    22         $(COMPILE) -c main.c -o main.o
     26        $(COMPILE) -c $^ -o $@
    2327
    2428#Generic rules
Note: See TracChangeset for help on using the changeset viewer.