From a444d2ec1344a838d3e6fd99e620fe9ce871cdf5 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Fri, 16 Aug 2002 19:45:33 +0000 Subject: Tests now respect CFLAGS, CPPFLAGS, etc.. --- tests/test-string-nr/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-string-nr') diff --git a/tests/test-string-nr/Makefile.am b/tests/test-string-nr/Makefile.am index 7246857..ff2bd50 100644 --- a/tests/test-string-nr/Makefile.am +++ b/tests/test-string-nr/Makefile.am @@ -37,10 +37,10 @@ scanner.c: $(srcdir)/scanner.l $(FLEX) $(LFLAGS) $< $(testname)$(EXEEXT): $(OBJS) - $(CC) -o $@ $(OBJS) $(LDFLAGS) + $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES) test: $(testname)$(EXEEXT) ./$(testname)$(EXEEXT) .c.o: - $(CC) -c -o $@ $(INCLUDES) $< + $(CC) -c -o $@ $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< -- cgit v1.2.3