On Sat, Jul 02, 2011 at 12:44:38AM +0200, Andreas Philipp wrote: > Just do a few simple style/layout changes to make the makefile look > better. > > Signed-off-by: Andreas Philipp <philipp.andr...@gmail.com> > --- > Makefile | 18 ++++++++---------- > 1 files changed, 8 insertions(+), 10 deletions(-) > > diff --git a/Makefile b/Makefile > index c60f9af..4298323 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,4 +1,4 @@ > -CC=gcc > +CC = gcc > AM_CFLAGS = -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 > CFLAGS = -g -Werror -Os > objects = ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ > @@ -6,25 +6,23 @@ objects = ctree.o disk-io.o radix-tree.o extent-tree.o > print-tree.o \ > inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o \ > volumes.o utils.o btrfs-list.o btrfslabel.o > > -# > -CHECKFLAGS=-D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise \ > - -Wuninitialized -Wshadow -Wundef > +CHECKFLAGS= -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise \ > + -Wuninitialized -Wshadow -Wundef > DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ > > -INSTALL= install > +INSTALL = install > prefix ?= /usr/local > bindir = $(prefix)/bin > -LIBS=-luuid > +LIBS = -luuid > > progs = btrfsctl mkfs.btrfs btrfs-debug-tree btrfs-show btrfs-vol btrfsck \ > - btrfs \ > - btrfs-map-logical > + btrfs btrfs-map-logical > > # make C=1 to enable sparse > ifdef C > - check=sparse $(CHECKFLAGS) > + check = sparse $(CHECKFLAGS) > else > - check=ls > + check = ls > endif > > btrfs-list.o: version
Added to the integration stack. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- "You know, the British have always been nice to mad people." ---
signature.asc
Description: Digital signature