diff options
author | millaway <millaway> | 2002-04-19 21:54:54 +0000 |
---|---|---|
committer | millaway <millaway> | 2002-04-19 21:54:54 +0000 |
commit | 50f44b821d07d17646179285734153ccfebae396 (patch) | |
tree | 87a219807d5d78e581537ec8bfade8cb4bbeef5c /tests/TEMPLATE | |
parent | 467a39bf29b0eeb5b8bd88f4b432a8c771ed195a (diff) | |
download | flex-50f44b821d07d17646179285734153ccfebae396.tar.gz |
Added top_builddir to -I path.
Changed $(srcdir)/$(testname) to ./$(testname) in 'make test' rule.
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) $< |