kicad-developers team mailing list archive
Mailing list archive
Patch: Fix Windows makefiles
Mitch Bradley <wmb@...>
Fri, 31 Mar 2006 22:12:26 -1000
Thunderbird 1.5 (Windows/20051201)
This patch (against kicad-sources-2006-03-28) is for building with
mingw/msys on Windows.
Without this patch, nothing compiles, because the compiler can't find
wx/setup.h in the standard place.
The root cause of the problem is that "makeg95.env" defines ALL_CPPFLAGS
with "=" instead of "+=", so predefining ALL_CPPFLAGS in libs.win is
In libs.win, delete the lines:
SRCSUFF = .cpp
OBJSUFF = .o
(they conflict with slightly different definitions in "makeg95.env").
In */makefile.include, exchange the lines
so that the order becomes: