[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: absolute or relative path for source files
From: |
Ralf Wildenhues |
Subject: |
Re: absolute or relative path for source files |
Date: |
Mon, 16 May 2011 07:18:38 +0200 |
* Vincent Torri wrote on Sun, May 15, 2011 at 09:11:10PM CEST:
> Is it better to use absolute path:
>
> mylib_SOURCES = $(top_builddir)/path1/path2/file.c
>
> or relative path
>
> mylib_SOURCES = ../path2/file.c
Both can be ok, but it is important that you don't mix both in the same
makefile, as make does not normalize file names.
Cheers,
Ralf