diff --git a/src/snc/Makefile b/src/snc/Makefile index 81fc92f4a1b0aba5f9433bebf7858e1a9416adca..4d2a3d62a2ba9dc2ede67f91826544f1df386a0b 100644 --- a/src/snc/Makefile +++ b/src/snc/Makefile @@ -50,8 +50,8 @@ snl.c: snl.lem snl.lt $(LEMON) $(RM) snl.c snl.h $(LEMON) o=. $< -snl.h: snl.c - # empty recipy needed to work around make bug #35455 +# empty recipy needed to work around make bug #35455 +snl.h: snl.c ; vpath %.re .. @@ -59,7 +59,7 @@ lexer.c: snl.re $(RE2C) -s -b -o $@ $< # work around bug in base rules -lexer.o: snl.h +lexer$(OBJ): snl.h $(COMMON_DIR)/snl.bnf: snl.lem $(RM) $@