1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help for Makefile in unix

Discussion in 'Unix' started by Poonamol, Apr 7, 2010.

  1. Poonamol

    Poonamol New Member

    Joined:
    Mar 31, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    I had created a makefile for my simple C application.
    I am able to create object and library file through makefile sucessfully.
    I had written a code snippet for executable file also, but somehow its not working.
    Here is the code for executable in makefile:
    $(BIN)/EXT: $(OBJ)/EXT.o (respective dependent file paths)
    $(CCC) -o $@ $(OBJ)/EXT.o .a (respective dependent file paths) $(CLDFLAGS) $(CLIBPATHS) $(CLIBS)

    How to get the executable from makefile?

    Help me out please!!!!!!!!!!
    Thanks in advance.
     
  2. Poonamol

    Poonamol New Member

    Joined:
    Mar 31, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    Anybody is there to help me out about this issue?
     

Share This Page