Whamcloud - gitweb
Fix Makefile dependencies for test programs in lib/ext2fs
authorTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jun 2010 01:11:01 +0000 (21:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jun 2010 01:11:01 +0000 (21:11 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in

index a71d12c..af1f51f 100644 (file)
@@ -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