From 6cfc025bad308d66f268c9f9264103a9dc56c7ff Mon Sep 17 00:00:00 2001 From: Keith Rarick Date: Mon, 24 Nov 2008 23:05:49 -0800 Subject: [PATCH] We can do without this special-case rule. --- Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 607a7af..d3ef383 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -AUTOMAKE_OPTIONS = foreign no-dependencies +AUTOMAKE_OPTIONS = foreign no-dependencies subdir-objects program = beanstalkd @@ -44,9 +44,6 @@ check: check-cut check-shell tests/cutcheck.c: $(tests) tests/cutgen tests/cutgen -o tests/cutcheck.c $(tests) -tests/cutcheck.o: tests/cutcheck.c - $(CC) $(CFLAGS) -I$(abs_srcdir)/tests/ -c tests/cutcheck.c -o tests/cutcheck.o - tests/cutcheck: tests/cutcheck.o for file in `ls $(abs_srcdir)/tests/test_*.c`; do cd $(abs_builddir)/tests/ && $(CC) $(CFLAGS) -I$(abs_srcdir)/tests/ -c $$file; done; $(CC) $(CFLAGS) -I$(abs_srcdir)/tests/ $(LDFLAGS) $(LIBS) -pg `ls *.o | grep -v $(program)` `ls $(abs_builddir)/tests/test_*.o` tests/cutcheck.o -o tests/cutcheck -- 2.11.4.GIT