pvjohnson / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

No "make all" target #127

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This used to work, but now both "make" and "make all" do nothing.

Just guessing, but maybe someone inserted new rules at the top of the 
Makefile, not aware that the topmost rule is the default one.

Original issue reported on code.google.com by evan@chromium.org on 4 Dec 2009 at 6:16

GoogleCodeExporter commented 9 years ago
This works for me.  Can you attach a broken Makefile?

Original comment by tony@chromium.org on 4 Dec 2009 at 10:23

GoogleCodeExporter commented 9 years ago
Hrm, maybe it does work.  I thought it had failed for me in the past but I am 
mistaken.

Original comment by evan@chromium.org on 4 Dec 2009 at 10:52

GoogleCodeExporter commented 9 years ago
It works for me now. So strange.

Original comment by su...@chromium.org on 7 Dec 2009 at 9:27

Attachments:

GoogleCodeExporter commented 9 years ago
I found that the Makefile will be broken if it's generated by command:
./build/gyp_chromium --ignore-environment -f make -D target_arch=x64 -G 
output_dir=out64/

The broken Makefile is attached.

Original comment by su...@chromium.org on 7 Dec 2009 at 9:50

Attachments:

GoogleCodeExporter commented 9 years ago
The problem is actually *.mk files rather than Makefile. If I generated the 
make files 
by running above gyp_chromium command, all *.mk files do not contain the line 
for 
setting all_targets.

The broken chrome.target.mk is attached.

Original comment by su...@chromium.org on 7 Dec 2009 at 10:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by evan@chromium.org on 7 Dec 2009 at 2:46