Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What is the $@ symbol for in a makefile?

  1. Aug 28, 2011 #1

    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:

    Code (Text):

                    ifort $(LOADFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)

    OBJECTS = list of object files
    LOADFLAGS = -O3 -align dcommons
    LIBRARIES = -L$(LIBRARY) -lfft -lnetcdf

    Many thanks. :smile:
  2. jcsd
  3. Aug 28, 2011 #2

    Filip Larsen

    User Avatar
    Gold Member

  4. Sep 1, 2011 #3
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: What is the $@ symbol for in a makefile?
  1. Chroot: Makefile books (Replies: 3)

  2. Makefile confusion (Replies: 34)