btrfs-progs: build, add make target for a build test

A quick check that everything still builds.

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2014-10-30 19:06:31 +01:00
parent effebebb42
commit 86be0aeaf6
1 changed files with 7 additions and 0 deletions

View File

@ -248,6 +248,13 @@ library-test.static: $(libs_static) library-test.o
@echo " [LD] $@" @echo " [LD] $@"
$(Q)$(CC) $(CFLAGS) -o library-test-static library-test.o $(LDFLAGS) $(libs_static) $(Q)$(CC) $(CFLAGS) -o library-test-static library-test.o $(LDFLAGS) $(libs_static)
test-build:
$(MAKE) clean-all
$(MAKE) library-test
-$(MAKE) library-test.static
$(MAKE) -j 8 all
-$(MAKE) -j 8 static
manpages: manpages:
$(Q)$(MAKE) $(MAKEOPTS) -C Documentation $(Q)$(MAKE) $(MAKEOPTS) -C Documentation