diff options
Diffstat (limited to 'tests/TEMPLATE')
-rw-r--r-- | tests/TEMPLATE/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TEMPLATE/Makefile.am b/tests/TEMPLATE/Makefile.am index 1515512..7963864 100644 --- a/tests/TEMPLATE/Makefile.am +++ b/tests/TEMPLATE/Makefile.am @@ -5,7 +5,7 @@ EXTRA_DIST = scanner.l parser.y test.input CLEANFILES = scanner.c scanner.h parser.c parser.h TEMPLATE OUTPUT $(OBJS) OBJS = scanner.o # parser.o -INCLUDES = -I $(srcdir) -I $(top_srcdir) +INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) #LDFLAGS = $(top_srcdir)/libfl.a #LFLAGS = --header="scanner.h" #YFLAGS = --defines --output=parser.c @@ -22,7 +22,7 @@ $(testname)$(EXEEXT): $(OBJS) $(CC) -o $@ $(OBJS) $(LDFLAGS) test: $(testname)$(EXEEXT) - $(srcdir)/$(testname)$(EXEEXT) < $(srcdir)/test.input + ./$(testname)$(EXEEXT) < $(srcdir)/test.input .c.o: $(CC) -c -o $@ $(INCLUDES) $< |