From c982594167d7e96b7360b0011753a80d4d789efc Mon Sep 17 00:00:00 2001 From: CHARRAS Date: Sat, 2 Feb 2008 12:42:43 +0000 Subject: [PATCH] solved problem with pcbnew/makefile.include: did not compile under linux --- pcbnew/makefile.g95 | 3 ++- pcbnew/makefile.include | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pcbnew/makefile.g95 b/pcbnew/makefile.g95 index 2ed69a3515..2e2823322c 100644 --- a/pcbnew/makefile.g95 +++ b/pcbnew/makefile.g95 @@ -1,11 +1,12 @@ #makefile for pcbnew, Windows WXDIR = $(WXWIN) -BOOST_LIB = /f/boost/boost_1_34_1 + TARGET=pcbnew include ../libs.win +EXTRACPPFLAGS += -I /f/boost/boost_1_34_1 all: $(TARGET).exe include makefile.include diff --git a/pcbnew/makefile.include b/pcbnew/makefile.include index 267c9dd317..e67b86762f 100644 --- a/pcbnew/makefile.include +++ b/pcbnew/makefile.include @@ -1,7 +1,7 @@ EXTRALIBS = ../common/common.a ../polygon/lib_polygon.a EXTRACPPFLAGS += -DPCBNEW -fno-strict-aliasing -I./ -Ibitmaps -I../include -I../share\ - -I../pcbnew -I../3d-viewer -I../polygon -I$(BOOST_LIB) + -I../pcbnew -I../3d-viewer -I../polygon #COMMON = pcbnew.h struct.h class_pad.h class_module.h class_text_mod.h \ # class_edge_mod.h class_equipot.h