make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.80: Unix<->NT rule inference differ


From: Eli Zaretskii
Subject: Re: 3.80: Unix<->NT rule inference differ
Date: Mon, 03 Feb 2003 20:15:58 +0200

> Date: Mon, 3 Feb 2003 14:36:42 +0000 (GMT)
> From: =?iso-8859-1?q?Cyrus=20Klug?= <address@hidden>
> 
> CC=cl
> MAKELIB= lib.exe /OUT:$@
> 
> 
> objFiles1= foo.obj
> objFiles2= foo.obj bar.obj
> 
> lib: foo.lib bar.lib
> 
> foo.lib:  $(objFiles1)
>    $(MAKELIB) $?
> 
> bar.lib:  $(objFiles2)
>    $(MAKELIB) $?
> 
> foo.obj: foo.c
>    $(CC) -c $< -o $@
> 
> bar.obj: bar.c
> 
> ----------------------snip------------------
> 
> Here is the issue: under NT, gnumake 3.80 determines that the rule
> for bar.obj has no command line. Contrast Unix, with essentially the
> same Makefile and gnumake release, the command line $(CC) -c $< -o
> $@ is inferred for target bar.obj based on the rule for
> foo.obj.

Perhaps the Windows port of Make has some built-in rule for *.obj
files, whereas the Unix version doesn't.  Run "make -p" on each
platform and see whether the differences give a clue.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]