s3e: fix build break
[calu.git] / 3a_asm / Makefile
index 4b3da7ef10095bd5532c2bacf9bce841c05663bf..2f1c87ec36568369d52821b015c77d916e0ccb48 100644 (file)
@@ -1,13 +1,14 @@
 SHELL := zsh
 
 all:
-       @ghc --make Main.hs -o dtas
+       @ghc --make Main.hs -O0 -o dtas
+       @strip dtas
 
 .PHONY: clean test
 clean:
        -rm -Rf **/**.o **/**.hi dtas
 
-TESTFILES := $(shell ls tst/*.s) $(shell ls ../2_isa/src/*.s)
+TESTFILES := $(shell ls ../3_test/*.s) $(shell ls ../2_isa/src/*.s)
 test: all $(TESTFILES:.s=.out)
 
 %.out: %.s