all: $(NAME)
$(NAME): $(OBJS)
- @echo " LINK $<"
+ @echo " LINK $@"
@gcc -o $@ $(OBJS) -lfl
scanner.c: oxout.l
.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