info-cvs
[Top][All Lists]
Advanced

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

Re: Two different platforms sharing common code base: How to do so?


From: Sergei Organov
Subject: Re: Two different platforms sharing common code base: How to do so?
Date: 29 Nov 2004 17:15:15 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

Spiro Trikaliotis <address@hidden> writes:
> Hello,
> 
> I have a question regarding two projects, which do the same for Windows
> and/or Linux, and share many files of the common code base.
> 
> Unfortunately, the build systems or not compatible: GNU Make with gcc on
> the one hand, Microsoft's BUILD-Tool on the other. MS's solution needs
> the files to be co-located with the .C-files. To make things worse, GNU
> uses a file it calls "Makefile", as well as MS's BUILD-Tools.

GNU make uses the file you specify with -f command-line switch. Only if
you don't specify the file in the command line will it use GNUMakefile,
makefile, or Makefile, whichever it finds first. What's wrong with
invoking make like this:

make -f Makefile.linux

HTH.





reply via email to

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