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.
		
		
		
		
		
			
		
			
				
					
					
						
							41 lines
						
					
					
						
							967 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							41 lines
						
					
					
						
							967 B
						
					
					
				| #Configuration for build kicad | |
| KICAD_BIN = $(HOME)/install/kicad/macosx | |
| 
 | |
| RESCOMP = /Developer/Tools/Rez -d __DARWIN__ -t APPL -d __WXMAC__ -i . | |
| SETFILE = /Developer/Tools/SetFile | |
| 
 | |
| CPPFLAGS = -D__UNIX__ -Wall -I../include `wx-config --cxxflags` | |
| LDFLAGS = | |
| CC = g++ | |
| LD = g++ | |
| 
 | |
| # turn on/off debugging for all executables, only tested without KICAD_PYTHON | |
| DEBUG = 1 | |
| 
 | |
| ifeq ($(DEBUG), 1) | |
| CPPFLAGS += -g | |
| else | |
| CPPFLAGS += -O2 | |
| endif | |
| 
 | |
| # turn on/off universal binaries | |
| UNIVERSAL = 0 | |
| 
 | |
| ifeq ($(UNIVERSAL), 1) | |
| CPPFLAGS += -arch i386 -arch ppc | |
| endif | |
| 
 | |
| # You must comment or uncomment this line to disable/enable python support | |
| #KICAD_PYTHON = 1 | |
|   | |
| ifdef KICAD_PYTHON | |
| PYLIBS= -L/usr/lib | |
| PYLIBS+= -L /usr/include/python | |
| PYLIBS+= -lpython2.4 | |
| PYLIBS+= -lboost_python | |
| EXTRACPPFLAGS+=-I /usr/include/python2.4 -DKICAD_PYTHON -fno-strict-aliasing | |
| endif | |
| 
 | |
| LIBS =	../common/common.a `wx-config --libs` $(PYLIBS) | |
| LIBS3D = ../common/common.a `wx-config --libs std,gl` -framework OpenGL $(PYLIBS) | |
| 
 |