summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordscho <dscho>2001-12-09 21:40:46 +0000
committerdscho <dscho>2001-12-09 21:40:46 +0000
commitf3306e9e83cd4ddb05328230630198e7c1824383 (patch)
treeb716e06efeeb2e4b95b252404dbc605fd3457241 /Makefile
parent8d8429b4f818a83f1de8121d1adb393ae3724f87 (diff)
downloadlibtdevnc-f3306e9e83cd4ddb05328230630198e7c1824383.tar.gz
libtdevnc-f3306e9e83cd4ddb05328230630198e7c1824383.zip
Makefile cleanup, some special options for OSX
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c3a9ae1..3ee328d 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,8 @@ VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg
# The code for 3 Bytes/Pixel is not very efficient!
FLAG24 = -DALLOW24BPP
-OPTFLAGS=-g # -Wall
-#OPTFLAGS=-O2 -Wall
+#OPTFLAGS=-g # -Wall
+OPTFLAGS=-O2 -Wall
CFLAGS=$(OPTFLAGS) $(PTHREADDEF) $(FLAG24) $(INCLUDES)
RANLIB=ranlib
@@ -59,7 +59,9 @@ OSXvnc-server: mac.o libvncserver.a
x11vnc: x11vnc.o libvncserver.a
$(CC) -o x11vnc x11vnc.o libvncserver.a -lz -ljpeg $(XLIBS)
-# $(CC) -o x11vnc x11vnc.o libvncserver.a /usr/lib/libz.a /usr/lib/libjpeg.a $(XLIBS)
+
+x11vnc_static: x11vnc.o libvncserver.a
+ $(CC) -o x11vnc_static x11vnc.o libvncserver.a /usr/lib/libz.a /usr/lib/libjpeg.a $(XLIBS)
#$(LIBS) $(XLIBS)
storepasswd: storepasswd.o d3des.o vncauth.o