Reputation: 33
I am learning Gnu Make and don't understand the construction. Actually wondering what parameters are in quotes? This entry is the first in the Makefile.
LIBLORAGW_VERSION := `cat ../VERSION`
Upvotes: 0
Views: 38
Reputation: 1301
Backticks ` `
are shell syntax to return enclosed command output as a string.
So that, this line executes cat ../VERSION
, grabs its output and assigns it to LIBLORAGW_VERSION
Upd: Yes, the explanation above is a simplified "it looks like" but is not correct in details. See MadScientist's comment and try this
DATE=`date`
all:
$(info DATE is $(DATE))
@echo DATE is $(DATE)
Upvotes: 1