From: Andre Noll Date: Fri, 6 Jun 2008 15:24:16 +0000 (+0200) Subject: Let all source files depend on errtab.h X-Git-Tag: v0.1.0~47 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=201ba21a594fe7a1392bf1548b6c9a86ce572508;p=osl.git Let all source files depend on errtab.h --- diff --git a/Makefile b/Makefile index 47f1107..9c34d74 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ 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 @@ -112,7 +112,7 @@ fsck.cmdline.o: fsck.cmdline.c fsck.cmdline.h %.fsck.o: %.c Makefile fsck.cmdline.c fsck.cmdline.h osl.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