Spiro Trikaliotis <[EMAIL PROTECTED]> 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. _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
