summaryrefslogblamecommitdiff
path: root/cad/chipmunk/files/patch-ae
blob: 3be9235b6b2070e3d3fc440ea6a5aefbe81880cf (plain) (tree)
1
2
3
4
5
6
7
8




                                                                   
 
                
                                   


                               
                 
                     





                     

                                
 


                                                        



                                                        
--- log/src/ana/Makefile.orig	2011-10-21 07:26:01.000000000 +0900
+++ log/src/ana/Makefile	2011-11-26 22:33:01.000000000 +0900
@@ -45,7 +45,7 @@
 ## For most versions of UNIX, one of the above directories
 ## will be the correct one to use on the line below:
 
-XINCLUDEDIR = .
+XINCLUDEDIR = ${LOCALBASE}/include
 
 ##
 ##  (1) Choosing your compiler
@@ -66,7 +66,7 @@
 CHIPMUNKCC = gcc -O3
 
 
-CC = $(CHIPMUNKCC) 
+CC ?= $(CHIPMUNKCC) 
 
 ##
 ## (4) Adding appropriate flags
@@ -108,7 +108,7 @@
 
 CHIPMUNKFLAGS = 
 
-CFLAGS =  $(CHIPMUNKFLAGS) -I$(LOCINC) -I$(XINCLUDEDIR)
+CFLAGS +=  -I$(LOCINC) -I$(XINCLUDEDIR)
 
 ANAOBJ = globals.o nsolver.o main.o inter.o $(GATESOBJ)
 GATESOBJ = numbers.o mmeter.o iscope.o \