From e6895abee01572df496f851fa7c3a7fd5e8339d2 Mon Sep 17 00:00:00 2001
From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de>
Date: Tue, 10 Jul 2012 11:24:07 +0000
Subject: [PATCH] fixed a stupid error in snc Makefile

---
 src/snc/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/snc/Makefile b/src/snc/Makefile
index 81fc92f4..4d2a3d62 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) $@
-- 
GitLab