You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# File: libs.win#binaries path:KICAD_BIN = /f/kicad/winexe
# Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL# wxWin DLL 1 0 1# wxWin STATIC 0 0 0# App use wxWin DLL 0 1 0# DLL use wxWin DLL 0 1 1# DLL use wxWin STATIC 0 0 1#
# turn on/OFF debugging for all executables, only tested without KICAD_PYTHONDEBUG = 0
#comment this for static wxWidgets link#WXUSINGDLL = 1
#Define the wxWidget path (if not found in environment variables):ifndef WXWINifeq ($(DEBUG), 1)WXWIN=f:/wxMSW-2.8.7-debugelseWXWIN=f:/wxMSW-2.8.7endifendifLIBVERSION = 2.8
# You must comment or uncomment this line to disable/enable python support#KICAD_PYTHON = 1
ifeq ($(DEBUG), 1)CPPFLAGS = -Wall -g3 -ggdb3 -DDEBUG ${WXXFLAGS} -fno-strict-aliasingALL_LDFLAGS = -g3 -ggdb3 #-velseCPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasingALL_LDFLAGS = -s #-vFINAL = 1endif
ALL_CPPFLAGS = `$(WXWIN)/wx-config --cppflags` $(CPPFLAGS)EDACPPFLAGS = $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $(EXTRACPPFLAGS)EDALIBS = $(EXTRALIBS)
ifdef KICAD_PYTHONBOOST_PATH=/d/boostPYTHON_PATH=/c/Python25PYLIBS= -L$(PYTHON_PATH)/libsPYLIBS+= -L $(PYTHON_PATH)/LibPYLIBS+= -lpython2.5EXTRACPPFLAGS+=-I $(PYTHON_PATH)/include -DKICAD_PYTHON -I $(BOOST_PATH) -fno-strict-aliasing -ggdbendif
SYSWXLIB = `$(WXWIN)/wx-config --libs gl`\ -lwxpng-$(LIBVERSION) -lwxjpeg-$(LIBVERSION) -lwxzlib-$(LIBVERSION) $(PYLIBS)
CC = gcc
.cpp.o: gcc -c -Wall $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $(EXTRACPPFLAGS) -o $@ $*.cpp
# Settings for Cyginw/Mingw32# Some versions of windres cannot cope with the --preprocessor# option. Uncomment the RCPREPROCESSOR line below if yours can.ifndef WINERESCOMP=$(CROSS)windres $(_USE_TEMP_FILE_IF_SUPPORTED)elseRESCOMP=wrcendifRCINPUTSWITCH=-iRCOUTPUTSWITCH=-oRCINCSWITCH=--include-dirRCDEFSWITCH=--define# Note that this can cause windres to fail (Win95/98 problem?)# but commenting out RCPREPROCESSOR then does the trick.#RCPREPROCESSOR=--preprocessor "$(CXX) -c -E -xc-header -DRC_INVOKED"
# Don't make this too long (e.g. by adding contrib/include/wx) because it will# truncate the command lineRESFLAGS=$(RCPREPROCESSOR) $(RCINCSWITCH) $(WXDIR)/include $(RCEXTRAINC) $(RCDEFSWITCH) __WIN32__ $(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__
|