From 58031bcb768f927d18ce7f781feff528855eefbd Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 29 Sep 2001 14:55:25 +0000 Subject: more pthread debugging --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 06885e8..7af948d 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ -#CC=cc -CFLAGS=-g -Wall -#CFLAGS=-O2 -Wall -RANLIB=ranlib - INCLUDES=-I. VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg -# These two lines enable useage of PThreads -CFLAGS += -DHAVE_PTHREADS -VNCSERVERLIB += -lpthread +# Uncomment these two lines to enable use of PThreads +PTHREADDEF = -DHAVE_PTHREADS +PTHREADLIB = -lpthread + +#CC=cc +CFLAGS=-g -Wall $(PTHREADDEF) +#CFLAGS=-O2 -Wall +RANLIB=ranlib -LIBS=$(LDFLAGS) $(VNCSERVERLIB) +LIBS=$(LDFLAGS) $(VNCSERVERLIB) $(PTHREADLIB) # for Mac OS X OSX_LIBS = -framework ApplicationServices -framework Carbon -- cgit v1.2.1