arm64: codea/abgabe_aa.0
[uebersetzerbau-ss10.git] / scanner / Makefile
index 3997a410238457d16bcd67e63855483f32a494dc..b72e2cf37d3f955a5a5a4dbefbdf01908a994789 100755 (executable)
@@ -1,3 +1,4 @@
+SHELL := bash
 NAME := scanner
 all: $(NAME)
 
@@ -9,11 +10,9 @@ $(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 2>&1