X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=asmb%2FMakefile;h=43a0fa5e00692cf8e8e273a7b0af9d04284d229e;hb=f725491687e1bcb31a544d9f279ad560e49490a2;hp=f3074164e698abe618eed09afaeec93394d81907;hpb=00a2e3d78c7ce45a6f3eb9a493888f6f98c677c6;p=uebersetzerbau-ss10.git diff --git a/asmb/Makefile b/asmb/Makefile index f307416..43a0fa5 100755 --- a/asmb/Makefile +++ b/asmb/Makefile @@ -7,13 +7,14 @@ $(NAME).o: $(NAME).s .PHONY: clean clean: - rm -f $(NAME).o $(NAME) *.trace *.tmp + rm -f $(NAME).o $(NAME)test *.trace *.tmp 1test: all @echo " COMPILE $<" - @gcc -pedantic -ansi -Wall -g -o $(NAME) $(NAME).s main.c -D_GNU_SOURCE - @echo "execute ./$(NAME)" - @./$(NAME) + @gcc -O -pedantic -ansi -Wall -g -o $(NAME)test $(NAME).s $(NAME)test.c -D_GNU_SOURCE + @./dumpinstr.sh $(NAME)test $(NAME) + @echo "execute ./$(NAME)test" + @./$(NAME)test 2test: /usr/ftp/pub/ublu/test/$(NAME)/test 2>&1