arm64: codea/abgabe_aa.0
[uebersetzerbau-ss10.git] / asmb / Makefile
1 NAME := asmb
2 all: $(NAME).o
3
4 $(NAME).o: $(NAME).s
5         @echo "  COMPILE  $<"
6         @gcc -c -o $(NAME).o $(NAME).s
7
8 .PHONY: clean
9 clean:
10         rm -f $(NAME).o $(NAME)test *.trace *.tmp
11
12 1test: all
13         @echo "  COMPILE  $<"
14         @gcc -O -pedantic -ansi -Wall -g -o $(NAME)test $(NAME).s $(NAME)test.c -D_GNU_SOURCE
15         @./dumpinstr.sh $(NAME)test $(NAME)
16         @echo "execute ./$(NAME)test"
17         @./$(NAME)test
18
19 2test:
20         /usr/ftp/pub/ublu/test/$(NAME)/test 2>&1
21