Makefile issues
Maximilain
king@greatfreeworld.org
Fri Nov 6 14:44:00 GMT 2015
Hello,
This list is for the GCC compiler. You will get better help about Make
on a make specific list.
If you look at the command make is running:
D_DEBUG -m32 -std=c99 -Wall ....
you will notice that there is no program to run.
Probably because $(GCC) is empty
Which is because $(W32_CC) is empty in GCC=$(W32_CC) $(D32_FLAGS)
maybe you wanted to use $(W32_GCC) ? typo?
On Fri, 2015-11-06 at 07:17 -0700, zxuiji wrote:
> makefile.makefile
> <http://gcc.1065356.n5.nabble.com/file/n1202209/makefile.makefile>
> I've just started learning the makefile format and am having some issues
> with the one I created, I'm hoping someone can explain to me where I'm going
> wrong to cause the following:
>
> E:\PortableApps\CodeBlocks\MinGW\bin\mingw32-make.exe (in directory:
> E:\PortableApps\Codit\coditui)
> D_DEBUG -m32 -std=c99 -Wall -oE:/PortableApps/Codit/coditui/objs/inject.o
> E:/PortableApps/Codit/coditui/inject.c
> makefile:30: recipe for target 'inject.o' failed
> process_begin: CreateProcess(NULL, D_DEBUG -m32 -std=c99 -Wall
> -oE:/PortableApps/Codit/coditui/objs/inject.o
> E:/PortableApps/Codit/coditui/inject.c, ...) failed.
> make (e=2): The system cannot find the file specified.
> mingw32-make: [inject.o] Error 2 (ignored)
> D_DEBUG -m32 -std=c99 -Wall -o
> -IE:/PortableApps/Codit/coditui/../iup/include/
> -lE:/PortableApps/Codit/coditui/../iup/lib/win32_w4/libiupE:/PortableApps/Codit/coditui/objs/search.o
> E:/PortableApps/Codit/coditui/search.c
> makefile:32: recipe for target 'search.o' failed
> process_begin: CreateProcess(NULL, D_DEBUG -m32 -std=c99 -Wall -o
> -IE:/PortableApps/Codit/coditui/../iup/include/
> -lE:/PortableApps/Codit/coditui/../iup/lib/win32_w4/libiupE:/PortableApps/Codit/coditui/objs/search.o
> E:/PortableApps/Codit/coditui/search.c, ...) failed.
> make (e=2): The system cannot find the file specified.
> mingw32-make: [search.o] Error 2 (ignored)
> D_DEBUG -m32 -std=c99 -Wall -o
> -IE:/PortableApps/Codit/coditui/../iup/include/
> -lE:/PortableApps/Codit/coditui/../iup/lib/win32_w4/libiupE:/PortableApps/Codit/coditui/objs/main.o
> E:/PortableApps/Codit/coditui/main.c
> makefile:34: recipe for target 'main.o' failed
> process_begin: CreateProcess(NULL, D_DEBUG -m32 -std=c99 -Wall -o
> -IE:/PortableApps/Codit/coditui/../iup/include/
> -lE:/PortableApps/Codit/coditui/../iup/lib/win32_w4/libiupE:/PortableApps/Codit/coditui/objs/main.o
> E:/PortableApps/Codit/coditui/main.c, ...) failed.
> make (e=2): The system cannot find the file specified.
> mingw32-make: [main.o] Error 2 (ignored)
> Compilation finished successfully.
>
>
>
> --
> View this message in context: http://gcc.1065356.n5.nabble.com/Makefile-issues-tp1202209.html
> Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list