NAME := asmb all: $(NAME).o $(NAME).o: $(NAME).s @echo " COMPILE $<" @gcc -c -o $(NAME).o $(NAME).s .PHONY: clean clean: rm -f $(NAME).o $(NAME)test *.trace *.tmp 1test: all @echo " COMPILE $<" @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