This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use make with a makefile Win32 (cygwin32.mak)


patricia5_ds@hotmail.com wrote:
Hi!
I'm trying to use the file cygwin32.mak in order to execute the make with a makefile win32 to generate an exe file. I obtain the next error


$ make
c codes\compile_concept.c /Foobj\compile_concept.obj
make: c: Command not found
make: [obj\compile_concept.obj] Error 127 (ignored)
/bin/sh: out:bincompile.exe: command not found
make: [compile.exe] error 127 (ignored)
make: *** No rule to make target 'concept_leaf.exe', needed by 'all'. Stop.

I made the changes to the file cygwin32.mak at line 113 to fit the setup and I write the header include in my makefile as follows

#!/usr/local/include/cygwin32.mak

Can anyone help me pls?


Why don't you start with working examples or tutorials on gnu make, which should apply to the make which comes with cygwin? Any make which works with backslashes or has default rules for .obj and .exe looks to be off topic for cygwin. gnu make works fine for .obj and .exe if you add the rules. I find this more satisfactory than dealing with the various non-posix make programs available for Windows, none of which are supported by cygwin.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]