+SHELL := bash
NAME := scanner
all: $(NAME)
.PHONY: clean
clean:
- rm -f $(NAME).o $(NAME) $(NAME).c
+ rm -f $(NAME){,.o,.c}
-1test: $(NAME)
- @echo "execute ./$(NAME)"
- @./$(NAME)
+1test: 2test
2test:
- /usr/ftp/pub/ublu/test/$(NAME)/test
+ /usr/ftp/pub/ublu/test/$(NAME)/test 2>&1