summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordscho <dscho>2001-09-29 19:51:17 +0000
committerdscho <dscho>2001-09-29 19:51:17 +0000
commit08ed0461c7abca36fd6a6b0abf7ae466a2e8435a (patch)
tree36a9db4d83034048feaae920a071a670e6f5bcda /Makefile
parent641012310eebe3a129c8a1939c3f8c9cd645ef50 (diff)
downloadlibvncserver-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.zip
libvncserver-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.tar.gz
finally fixed pthreads
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7af948d..8554699 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PTHREADDEF = -DHAVE_PTHREADS
PTHREADLIB = -lpthread
#CC=cc
-CFLAGS=-g -Wall $(PTHREADDEF)
+CFLAGS=-g -Wall $(PTHREADDEF) $(INCLUDES)
#CFLAGS=-O2 -Wall
RANLIB=ranlib
@@ -32,7 +32,7 @@ install_OSX: OSXvnc-server
cp OSXvnc-server storepasswd ../OSXvnc/build/OSXvnc.app/Contents/MacOS
.c.o:
- $(CC) $(CFLAGS) $(INCLUDES) -c $<
+ $(CC) $(CFLAGS) -c $<
libvncserver.a: $(OBJS)
$(AR) cru $@ $(OBJS)
@@ -54,7 +54,13 @@ sratest: sratest.o
$(CC) -o sratest sratest.o
sratest.o: sraRegion.c
- $(CC) $(CFLAGS) $(INCLUDES) -DSRA_TEST -c -o sratest.o sraRegion.c
+ $(CC) $(CFLAGS) -DSRA_TEST -c -o sratest.o sraRegion.c
+
+blooptest: blooptest.o libvncserver.a
+ $(CC) -o blooptest blooptest.o $(LIBS)
+
+blooptest.o: example.c
+ $(CC) $(CFLAGS) -DBACKGROUND_LOOP_TEST -c -o blooptest.o example.c
clean:
rm -f $(OBJS) *~ core "#"* *.bak *.orig storepasswd.o \
OpenPOWER on IntegriCloud