> config.h isn't getting copied when config.def.h changes

You're going to loose your config.h after a an update of config.def.h !
I prefer the build to fail over having my config.h erased.

> Signed-off-by: William Casarin <[email protected]>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 470ac86..22cec89 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -15,7 +15,7 @@ options:
>       @echo "LDFLAGS = $(STLDFLAGS)"
>       @echo "CC      = $(CC)"
> 
> -config.h:
> +config.h: config.def.h
>       cp config.def.h config.h
> 
> .c.o:
> --
> 2.19.2

Reply via email to