help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

removing spaces from concatenated variables


From: Dan DeJohn
Subject: removing spaces from concatenated variables
Date: Fri, 28 Mar 2003 11:48:43 -0500

I need to construct a UNIX path from some variables and I don't know how to get rid of the space that make puts between the variables when concatenating them. I need a $(strip) function that will remove the internal spaces as well as the leading and trailing ones.

FOO := foo
BAR := bar

PATH := $(FOO):$(BAR)

I'm using GNU Make version 3.79.1.

Thanks,
Dan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]