From f84d131e19d8d858535ef3dff4d2a622de5d31a7 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 21 Jun 2011 18:28:32 -0400 Subject: [PATCH] Fix Makefile dependencies. Dependencies of foo.$(OBJEXT) are not honoured when building a libtool library; instead we need to use foo.lo. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6ea246a..78688b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,9 +16,9 @@ bin_PROGRAMS = cdecl99 cdecl99_SOURCES = src/cdecl99.c cdecl99_LDADD = libcdecl.la -src/parse.$(OBJEXT): src/scan.h -src/scan.$(OBJEXT): src/parse.h -src/libcdecl.$(OBJEXT): src/scan.h src/parse.h +src/parse.lo: src/scan.h +src/scan.lo: src/parse.h +src/libcdecl.lo: src/scan.h src/parse.h # These are required to prevent the builtin lex/yacc rules from # superseding ours... -- 2.43.2