aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: cf8c0c22746f11a218a97fe9ac7b5129896d5755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Installs stanza into /usr/local/bin
# TODO Talk to Patrick to fill this in
root_dir ?= $(PWD)
test_dir ?= $(root_dir)/test
firrtl_dir ?= $(root_dir)/src/main/stanza

all: build check

install-stanza:

build: 
	cd $(firrtl_dir) && stanzam -i firrtl-main.stanza -o $(root_dir)/utils/bin/firrtl

# Runs single test
check: 
	cd $(test_dir) && lit -v . --path=$(root_dir)/utils/bin/
	cat $(test_dir)/unit/gcd.fir.out