jf22901
Aug28-11, 08:32 AM
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. :confused:
$(EXECUTABLE) : $(OBJECTS)
ifort $(LOADFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
where:
OBJECTS = list of object files
LOADFLAGS = -O3 -align dcommons
LIBRARIES = -L$(LIBRARY) -lfft -lnetcdf
Many thanks. :smile:
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. :confused:
$(EXECUTABLE) : $(OBJECTS)
ifort $(LOADFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
where:
OBJECTS = list of object files
LOADFLAGS = -O3 -align dcommons
LIBRARIES = -L$(LIBRARY) -lfft -lnetcdf
Many thanks. :smile: