diff options
author | John Millaway <john43@users.sourceforge.net> | 2002-04-19 21:54:54 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2002-04-19 21:54:54 +0000 |
commit | ffd33bd186d7f1f1f6d786aad9dd036ffda4469a (patch) | |
tree | 1fb1d2783d4ce5929c7ea70339f693a07bb860a0 /tests/test-string-nr | |
parent | e6d92955ae57e0cdaad7373b9e2447df4e42d346 (diff) |
Added top_builddir to -I path.
Changed $(srcdir)/$(testname) to ./$(testname) in 'make test' rule.
Diffstat (limited to 'tests/test-string-nr')
-rw-r--r-- | tests/test-string-nr/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-string-nr/Makefile.am b/tests/test-string-nr/Makefile.am index a5290e1..e5f2ce6 100644 --- a/tests/test-string-nr/Makefile.am +++ b/tests/test-string-nr/Makefile.am @@ -5,7 +5,7 @@ EXTRA_DIST = scanner.l CLEANFILES = scanner.c scanner.h parser.c parser.h test-string-nr 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 @@ -19,7 +19,7 @@ $(testname)$(EXEEXT): $(OBJS) $(CC) -o $@ $(OBJS) $(LDFLAGS) test: $(testname)$(EXEEXT) - $(srcdir)/$(testname)$(EXEEXT) + ./$(testname)$(EXEEXT) .c.o: $(CC) -c -o $@ $(INCLUDES) $< |