diff options
author | dscho <dscho> | 2001-09-29 19:51:17 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-09-29 19:51:17 +0000 |
commit | 08ed0461c7abca36fd6a6b0abf7ae466a2e8435a (patch) | |
tree | 36a9db4d83034048feaae920a071a670e6f5bcda /Makefile | |
parent | 641012310eebe3a129c8a1939c3f8c9cd645ef50 (diff) | |
download | libvncserver-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.zip libvncserver-08ed0461c7abca36fd6a6b0abf7ae466a2e8435a.tar.gz |
finally fixed pthreads
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 \ |