Make file
From: Omid (n_o_sp_a_m_at_hotmail.com)
Date: 07/28/04
- Next message: Stu: "Re: Make file"
- Previous message: Shadow_7: "Re: X, Mozilla, Fonts, wdm vs. startx ?"
- Next in thread: Stu: "Re: Make file"
- Reply: Stu: "Re: Make file"
- Reply: Larry I Smith: "Re: Make file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jul 2004 00:46:05 -0700
Hi.
I have a newbie question regarding creating a Makefile.
I want to create a Makefile that runs "make" in 3 subdirectories.
Something like this:
---------------------------------------
-- Makefile ---------------------------
---------------------------------------
all:
cd folder1
make
cd ..
cd folder2
make
cd ..
cd folder3
make
cd ..
---------------------------------------
However, this doesn't work.
The output is:
---------------------------------------
eomirou@E-56BCB50DA21A4 /my/path
$ make
cd folder1
make
make[1]: Entering directory `/my/path'
cd folder1
make
make[2]: Entering directory `/my/path'
cd folder1
make
make[3]: Entering directory `/my/path'
cd folder1
make
make[4]: Entering directory `/my/path'
etc...
---------------------------------------
Any suggestions about how to make this work?
/Omid
- Next message: Stu: "Re: Make file"
- Previous message: Shadow_7: "Re: X, Mozilla, Fonts, wdm vs. startx ?"
- Next in thread: Stu: "Re: Make file"
- Reply: Stu: "Re: Make file"
- Reply: Larry I Smith: "Re: Make file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|