Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am defining the target filename as a variable in Make, however, the filename contains spaces. When my makefile runs, the filename is taken as a space-separated list of ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    Make: space in target filename?

    Hi,

    I am defining the target filename as a variable in Make, however, the filename contains spaces. When my makefile runs, the filename is taken as a space-separated list of filenames, instead of a single filename. How can I define variable values with actual space in it?

    Thanks,
    wt

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    Never use spaces in file- and directory-names. You'll get a lot more of problems in the future.

    Regards

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2
    In my specific situation, a space is much more desirable than a underscore.

    Quote Originally Posted by Franklin52 View Post
    Never use spaces in file- and directory-names. You'll get a lot more of problems in the future.

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...