- #1
jf22901
- 55
- 1
Hi.
Can anyone please tell me what purpose $@ serves in the dependency line below? I've tried looking online, and in the make and ifort documentation, but can't find anything.
where:
OBJECTS = list of object files
LOADFLAGS = -O3 -align dcommons
LIBRARIES = -L$(LIBRARY) -lfft -lnetcdf
Many thanks.
Can anyone please tell me what purpose $@ serves in the dependency line below? I've tried looking online, and in the make and ifort documentation, but can't find anything.
Code:
$(EXECUTABLE) : $(OBJECTS)
ifort $(LOADFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
where:
OBJECTS = list of object files
LOADFLAGS = -O3 -align dcommons
LIBRARIES = -L$(LIBRARY) -lfft -lnetcdf
Many thanks.