kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00077
Patch: Fix Windows makefiles
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Mitch Bradley <wmb@...>
-
Date:
Fri, 31 Mar 2006 22:12:26 -1000
-
User-agent:
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
ineffective.
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
include ../libs.win
include ../makeg95.env
so that the order becomes:
include ../makeg95.env
include ../libs.win
Follow ups