projects
/
calu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3a_asm: 'nicer' fix for ldil vs. ldilt fail
[calu.git]
/
3a_asm
/
Makefile
1
SHELL := zsh
2
3
all:
4
@ghc --make Main.hs -o dtas
5
6
.PHONY: clean test
7
clean:
8
-rm -Rf **/**.o **/**.hi dtas
9
10
TESTFILES := $(shell ls ../3_test/*.s) $(shell ls ../2_isa/src/*.s)
11
test: all $(TESTFILES:.s=.out)
12
13
%.out: %.s
14
@echo "=== testing file $<"
15
@cat $<
16
@echo "=== here comes the DT ASM output ==="
17
@./dtas < $<