ppc: eq (codea_abgabe_ak.0)
[uebersetzerbau-ss10.git] / scanner / Makefile
index 7efaed8542406179b357683b96392555c280fabe..b72e2cf37d3f955a5a5a4dbefbdf01908a994789 100755 (executable)
@@ -1,3 +1,4 @@
+SHELL := bash
 NAME := scanner
 all: $(NAME)
 
@@ -9,12 +10,10 @@ $(NAME): $(NAME).lex
 
 .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