From: Andre Noll Date: Sat, 19 Jan 2019 19:22:02 +0000 (+0100) Subject: Merge branch 'refs/heads/t/build' into next X-Git-Tag: v0.2.0~13 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a7eaa5e0a5aea6b69c9b51df236b044bcbae652f;p=osl.git Merge branch 'refs/heads/t/build' into next * refs/heads/t/build: build: Fix dependencies for oslfsck. --- a7eaa5e0a5aea6b69c9b51df236b044bcbae652f diff --cc Makefile index a4f5fad,25b06ea..7ce4493 --- a/Makefile +++ b/Makefile @@@ -6,7 -6,7 +6,7 @@@ bindir := $(PREFIX)/bi mandir := $(PREFIX)/man/man1 objects := osl.o util.o rbtree.o sha1.o - fsck_objects := fsck.fsck.o osl.fsck.o util.fsck.o rbtree.fsck.o sha1.fsck.o oslfsck.lsg.o -fsck_objects := fsck.o osl.o util.o rbtree.o sha1.o fsck.cmdline.o ++fsck_objects := fsck.o osl.o util.o rbtree.o sha1.o oslfsck.lsg.o headers := osl.h executables := oslfsck man_pages := oslfsck.1 @@@ -29,6 -29,8 +29,8 @@@ z := VERSION := $(x).$(y).$(z) # common flags -CPPFLAGS += -DVERSION='"$(VERSION)"' ++CPPFLAGS += -DOSL_VERSION='"$(VERSION)"' + CFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W CFLAGS += -Wredundant-decls CFLAGS += -Os @@@ -119,9 -121,9 +121,6 @@@ osl.c fsck.c -include Makefile.deps - %.fsck.o: %.c Makefile osl.h errtab.h oslfsck.lsg.h - $(CC) -c -DOSL_VERSION='"$(VERSION)"' $(CPPFLAGS) $(CFLAGS) $< -o $@ -fsck.cmdline.o: fsck.cmdline.c fsck.cmdline.h - $(CC) $(CPPFLAGS) -c $< -- %.o: %.c Makefile errtab.h $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LIBCFLAGS) $<