ag: fuer ub10 angabe angepasst. mal testfaelle schreiben ;)
[uebersetzerbau-ss10.git] / ag / Makefile
index d4eff747f76f2944b8e14a53731d2712a38dcd0e..9b6ac4564ce1f3bb665eb82bb63b00e78780aa7c 100644 (file)
@@ -7,7 +7,7 @@ TARGETS := parser.y scanner.lex
 all: $(NAME)
 
 $(NAME): $(OBJS)
-       @echo "  LINK    $<"
+       @echo "  LINK    $@"
        @gcc -o $@ $(OBJS) -lfl
 
 scanner.c: oxout.l
@@ -30,7 +30,7 @@ oxout.y oxout.l: $(TARGETS)
 
 .PHONY: clean
 clean:
-       rm -f $(NAME) $(OBJS) scanner.c parser.{h,c,output} oxout.{y,l}
+       rm -f $(NAME) $(OBJS) scanner.c parser.{h,c,output} oxout.{y,l,h}
 
 1test: 2test