projects
/
calu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2f1c87ec36568369d52821b015c77d916e0ccb48
[calu.git]
/
3a_asm
/
Makefile
1
SHELL := zsh
2
3
all:
4
@ghc --make Main.hs -O0 -o dtas
5
@strip dtas
6
7
.PHONY: clean test
8
clean:
9
-rm -Rf **/**.o **/**.hi dtas
10
11
TESTFILES := $(shell ls ../3_test/*.s) $(shell ls ../2_isa/src/*.s)
12
test: all $(TESTFILES:.s=.out)
13
14
%.out: %.s
15
@echo "=== testing file $<"
16
@cat $<
17
@echo "=== here comes the DT ASM output ==="
18
@./dtas < $<