Find the answer to your Linux question:
Results 1 to 2 of 2
Hello , I need some help in correcting my make file. SOURCE (tcp.c tcp.h,Makefile) DEPENDANCY(strptr.c strptr.h depmake) I have got two folders namely SOURCE and DEPENDANCY.There are two make files ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    6

    Question make file problem

    Hello ,
    I need some help in correcting my make file.

    SOURCE (tcp.c tcp.h,Makefile)
    DEPENDANCY(strptr.c strptr.h depmake)

    I have got two folders namely SOURCE and DEPENDANCY.There are two make files one is source (makefile) and one in DEPENDANCY (depmake).
    if i want to include the make file in DEPENDANCY in the Makefile in SOURCE in directory how should i include it.

    I gave it as include $('pwd')/DEPENDANCY
    and its not working.

    how to include path in make file??

    Thanks

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    8
    it shold go $$(pwd) but it depends on position of that other folder

    if those folders are in same folder use relative path
    include ../name_folder/name_file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...