about -d, -s with $@ in Makefile
Hello everyone,
What are the meaning of -s, -d with $@ in Makefile? For example, [ -d $@ ] || (other commands) [ -s $@ ] || (other commands) thanks in advance, George |
These are shell commands. See man test.
|
Thanks ioerror,
Quote:
What means $@? I can not find related descriptions in GNU make manual, even if it is used several times in it. regards, George |
make doesn't have commands...
Code:
target: /bin/sh -d blah.blah |
$@ expands to the current target.
|
Thanks ioerror,
Quote:
regards, George |
Thanks bigearsbilly,
Quote:
regards, George |
All times are GMT -5. The time now is 05:16 AM. |