]> granicus.if.org Git - flex/commitdiff
replace the last instance
authorWill Estes <wlestes@users.sourceforge.net>
Thu, 10 Oct 2002 18:08:54 +0000 (18:08 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Thu, 10 Oct 2002 18:08:54 +0000 (18:08 +0000)
tests/TEMPLATE/Makefile.am

index ec1e4f8927d631a77762502501b98e87cada6840..58333669206bb8c211cc82442ba41a8401a6f4ea 100644 (file)
@@ -26,7 +26,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
 
-AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I$(builddir)
 #LDFLAGS = $(top_srcdir)/libfl.a 
 #LFLAGS = --header="scanner.h"
 #YFLAGS = --defines --output=parser.c
@@ -46,4 +46,4 @@ test: $(testname)$(EXEEXT)
        ./$(testname)$(EXEEXT) < $(srcdir)/test.input
 
 .c.o:
-       $(CC) -c -o $@ $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
+       $(CC) -c -o $@ $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $<