Bug report:
======
The -I option to gcc is not honored inside makefile.  (Win 32 version Mingw32)
======
 
Version information and test case listed below.  First create a subdirectory called "include" and put a file named "header.h" in it. (The content of header.h does not matter)
 
C:\bug>make --version
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
 
Report bugs to <[EMAIL PROTECTED]>.
 

C:\bug>gcc --version
2.95.2
 
C:\bug>more test.c
 
#include "header.h"
main()
{
}
C:\bug>gcc -c test.c -I.\include
 
C:\bug>del test.o
 
C:\bug>more makefile
 
test.o : test.c
        gcc -c test.c -I.\include
C:\bug>make
gcc -c test.c -I.\include
test.c:1: header.h: No such file or directory
C:\GCC-29~1.2\BIN\MAKE.EXE: *** [test.o] Error 1
 
C:\bug>
 
 
Regards,
Atle Borsholm

Reply via email to