Find the answer to your Linux question:
Results 1 to 2 of 2
I have my source files in folders src , src-subdir1 & src-subdir2 . Is it possible to write a single makefile which builds the sources from all these directories to ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Location
    chennai,India
    Posts
    0

    single makefile to compile source files in different directories

    I have my source files in folders src , src-subdir1 & src-subdir2 .

    Is it possible to write a single makefile which builds the sources from all these directories to create an executable.? Please advice me How ?

  2. #2
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    cd ./scr-dir1

    wouldn't that work?
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

Posting Permissions

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