Menu

Nppexec with 2 Environment variables

2008-01-14
2012-11-14
  • Nobody/Anonymous

    Hello,

    why doesn't this command work?

    gcc -o $(NAME_PART).exe $(NAME_PART).c
    $(NAME_PART)

    Only the first "$(NAME_PART)" is replaced by the filename. So the command is
    gcc -o test.exe $(NAME_PART).c if the filename is test.*

    How can I solve the problem?

     
    • DV

      DV - 2008-01-16

      Meanwhile, you can use a work-around:

      set NAME = $(NAME_PART) // sets a value of user-variable NAME
      gcc -o $(NAME).exe $(NAME_PART).c
      unset NAME // deletes the user-variable NAME
      $(NAME_PART)

       
    • DV

      DV - 2008-01-16

      This is a bug. Will be fixed in v.0.2 RC3.

       
MongoDB Logo MongoDB