]> git.saurik.com Git - bison.git/blobdiff - src/local.mk
build: fix paths.
[bison.git] / src / local.mk
index 9ee1824a24d83d6f0a86a633416cf30ca4238d2c..753172b0f1b8ec13122df0f201abb757ea0b9bdd 100644 (file)
@@ -20,11 +20,11 @@ AM_CPPFLAGS += -I$(top_srcdir)/lib
 # Find builddir/src/scan-code.c etc.
 AM_CPPFLAGS += -I$(top_builddir)
 
 # Find builddir/src/scan-code.c etc.
 AM_CPPFLAGS += -I$(top_builddir)
 
-LDADD = $(top_builddir)/lib/libbison.a $(LIBINTL)
+LDADD = lib/libbison.a $(LIBINTL)
 
 # Use our own Bison to build the parser.  Of course, you ought to
 # keep a sane version of Bison nearby...
 
 # Use our own Bison to build the parser.  Of course, you ought to
 # keep a sane version of Bison nearby...
-BISON = $(top_builddir)/tests/bison
+BISON = tests/bison
 YACC = $(BISON) -y
 AM_YFLAGS = -dv --warnings=all,error --report=all
 
 YACC = $(BISON) -y
 AM_YFLAGS = -dv --warnings=all,error --report=all
 
@@ -70,6 +70,8 @@ src_bison_SOURCES =                           \
   src/main.c                                   \
   src/muscle-tab.c                             \
   src/muscle-tab.h                             \
   src/main.c                                   \
   src/muscle-tab.c                             \
   src/muscle-tab.h                             \
+  src/named-ref.c                              \
+  src/named-ref.h                              \
   src/nullable.c                               \
   src/nullable.h                               \
   src/output.c                                 \
   src/nullable.c                               \
   src/nullable.h                               \
   src/output.c                                 \
@@ -104,9 +106,7 @@ src_bison_SOURCES =                         \
   src/tables.c                                 \
   src/tables.h                                 \
   src/uniqstr.c                                        \
   src/tables.c                                 \
   src/tables.h                                 \
   src/uniqstr.c                                        \
-  src/uniqstr.h                                        \
-  src/named-ref.c                              \
-  src/named-ref.h
+  src/uniqstr.h
 
 EXTRA_src_bison_SOURCES =                      \
   src/scan-code.l                              \
 
 EXTRA_src_bison_SOURCES =                      \
   src/scan-code.l                              \