From 8c084167ee5ea4ae28359b0d67d583eb1068465c Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 24 Jun 2010 21:11:01 -0400 Subject: [PATCH] Fix Makefile dependencies for test programs in lib/ext2fs Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ext2fs/Makefile.in b/lib/ext2fs/Makefile.in index a71d12c..af1f51f 100644 --- a/lib/ext2fs/Makefile.in +++ b/lib/ext2fs/Makefile.in @@ -239,11 +239,15 @@ tst_getsectsize: tst_getsectsize.o $(STATIC_LIBEXT2FS) $(DEPLIBCOM_ERR) $(Q) $(CC) -o tst_sectgetsize tst_getsectsize.o \ $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) +tst_types.o: $(srcdir)/tst_types.c ext2_types.h + tst_types: tst_types.o ext2_types.h $(E) " LD $@" $(Q) $(CC) -o tst_types tst_types.o -tst_super_size: tst_super_size.o ext2_fs.h +tst_super_size.o: $(srcdir)/tst_super_size.c $(srcdir)/ext2_fs.h + +tst_super_size: tst_super_size.o $(E) " LD $@" $(Q) $(CC) -o tst_super_size tst_super_size.o -- 1.8.3.1