--- 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