[Ocfs2-test-devel] [PATCH 08/11] ocfs2-test: Fix the fsx Makefile

tristan.ye tristan.ye at oracle.com
Fri Nov 7 17:34:42 PST 2008


Signed-off-by: Tristan Ye <tristan.ye at oracle.com>


Marcos Matsunaga Wrote:
> Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
> ---
>  programs/fsx/Makefile |   15 ++++++++++-----
>  1 files changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/programs/fsx/Makefile b/programs/fsx/Makefile
> index e7d191a..245fc51 100644
> --- a/programs/fsx/Makefile
> +++ b/programs/fsx/Makefile
> @@ -2,13 +2,18 @@ TOPDIR = ../..
>  
>  include $(TOPDIR)/Preamble.make
>  
> -BIN_PROGRAMS = fsx
> +CFLAGS = -O2 -Wall -g
> +
> +SOURCES = fsx-linux.c
> +OBJECTS = $(patsubst %.c,%.o,$(SOURCES))
>  
> -CFILES = fsx-linux.c
> +DIST_FILES = $(SOURCES)
> +
> +BIN_PROGRAMS = fsx
>  
> -OBJS = $(subst .c,.o,$(CFILES))
> +BIN_EXTRA = test.sh
>  
> -fsx: $(OBJS)
> -	$(LINK)
> +fsx: $(OBJECTS)
> +	$(LINK) 
>  
>  include $(TOPDIR)/Postamble.make
>   




More information about the Ocfs2-test-devel mailing list