]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
remove oslfsck on 'make clean' as well
[osl.git] / Makefile
index d329fd13387f8b22b8f74560ff39c47d14b9e8be..44011bd517d3528c85a8d58c555d474f5f03c95d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,7 @@ osl.c fsck.c:
 fsck.cmdline.o: fsck.cmdline.c fsck.cmdline.h
        $(CC) -c -DVERSION='"$(VERSION)"' $<
 
-%.fsck.o: %.c Makefile fsck.cmdline.c fsck.cmdline.h osl.h
+%.fsck.o: %.c Makefile fsck.cmdline.c fsck.cmdline.h osl.h errtab.h
        $(CC) -c -DVERSION='"$(VERSION)"' $(CPPFLAGS) $(CFLAGS) $< -o $@
 
 %.o: %.c Makefile errtab.h
@@ -145,7 +145,8 @@ errtab.h: errlist
 osl.h: osl.h.in osl_errors.h Makefile
        cat osl.h.in osl_errors.h > $@
 clean:
-       rm -f *.o $(realname) osl.h osl_errors.h errtab.h fsck.cmdline.h fsck.cmdline.c
+       rm -f *.o $(realname) osl.h osl_errors.h errtab.h fsck.cmdline.h \
+               fsck.cmdline.c oslfsck
 
 install: all
        $(MKDIR) $(libdir) $(includedir)