1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-05 05:22:22 +03:00
eda-tools/boom/manu/Makefile.common

16 lines
340 B
Makefile
Raw Normal View History

BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
UC_NAME = $(shell echo $(NAME) | tr [a-z] [A-Z])
EQU = ../../dist/all.equ
.PHONY: all test
all: $(NAME).chr
$(NAME).chr: $(EQU) $(NAME).gen
$(BOOM) gen2chr $(UC_NAME) $^ >$@ || { rm -rf $@; exit 1; }
test:
$(BOOM) gen2chr -n $(UC_NAME) $(EQU) $(NAME).gen