summaryrefslogblamecommitdiff
path: root/cad/chipmunk/files/patch-az
blob: 9e62e2354a441c0bbf9a3a03d04310ccb69ca3c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                        

   
                     
                    
                      

                         




                       
                
                                   
 
 
   
                   

   


                                                                        


                        
--- wolcomp/Makefile.orig	Wed Nov  5 20:31:07 2003
+++ wolcomp/Makefile	Tue Dec  9 17:51:24 2003
@@ -52,7 +52,7 @@
   
 
 CHIPMUNKCC = gcc -O3
-CC = $(CHIPMUNKCC) 
+CC ? = $(CHIPMUNKCC) 
 
 LOCINC = ../psys/include
 
@@ -71,7 +71,7 @@
 ## first one for OS X.
 ##
 
-XINCLUDEDIR = .
+XINCLUDEDIR = ${LOCALBASE}/include
 
 
 ##
@@ -128,7 +128,7 @@
   
 
 CHIPMUNKFLAGS =
-CFLAGS =  $(CHIPMUNKFLAGS) -I$(LOCINC) -I$(XINCLUDEDIR) -D_POSIX_SOURCE
+CFLAGS +=  -DBSD -DF_OK -I$(LOCINC) -I$(XINCLUDEDIR) -D_POSIX_SOURCE
 
 install : $(OBJS)
 	-rm -f wolcomp.a