makefile - How do I invoke a GNU make macro created using define? -


Is GEP applied in my makefile? Should I use one or the other for any reason? Both produce results.

  define GREP $ (word 3, $ (Shell echo "#FFFxxff00100 #")) All Endf: @echo $ (GREP) @echo $ (Call GERP  

The way you are using it, there is no difference though, if your grap If a macro is a function that takes the criteria, then you have to use it to pass the parameter $ (call) for example:

  Define GREP $ (shell grep $ 1 $ 2) endef FOO: = $ (GREP, abc, words.txt call) S)  

This reason $ 1 is to be replaced with "abc", and with "code.txt" $ 2 .

Here is the user-defined task in GNU:

Hope this helps,

Eric Mlsby


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -