]> git.tuebingen.mpg.de Git - osl.git/blobdiff - Makefile
Add a comment to search_rbtree().
[osl.git] / Makefile
index 47f11074c8097b075e8575eed5a2136453ce1c80..0aff6beb99b3f42e4028cad88582457929d346fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,17 +102,17 @@ endif
 all: $(realname) oslfsck
 Makefile.deps: $(wildcard *.c *.h)
        $(CC) -MM -MG *.c > $@
-osl.c fsck.c: errtab.h
+osl.c fsck.c:
 
 -include Makefile.deps
 
 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
+%.o: %.c Makefile errtab.h
        $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LIBCFLAGS) $<
 
 fsck.cmdline.h fsck.cmdline.c: fsck.ggo Makefile
@@ -140,7 +140,7 @@ osl_errors.h: errlist
                -e '$$s/$$/};/1' $< > $@
 
 errtab.h: errlist
-       sed -e 's/^\([A-Z_]*\)\s*\(.*\)/_S(E_OSL_\1, \2)/g' $< > $@
+       sed -e 's/^\([A-Z_]*\)\s*\(.*\)/OSL_ERROR(E_OSL_\1, \2)/g' $< > $@
 
 osl.h: osl.h.in osl_errors.h Makefile
        cat osl.h.in osl_errors.h > $@