uart: add ledctrl app

This commit is contained in:
Paul Mathieu
2021-02-22 20:37:18 -08:00
parent b8ee42bfc2
commit 2f210dd561
5 changed files with 55 additions and 0 deletions

15
uart/makefile Normal file
View File

@@ -0,0 +1,15 @@
CC = ../bin/cc
LD = ../bin/ld
all: echo.vhdl.inc ledctrl.vhdl.inc
echo.vhdl.inc: echo.o uart.o
ledctrl.vhdl.inc: ledctrl.o uart.o
%.vhdl.inc:
$(LD) -o $@ --vhdl $^
PHONY: clean
clean:
rm -rf *.o *.vhdl.inc