summaryrefslogtreecommitdiffstats
path: root/libvncclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/Makefile')
-rw-r--r--libvncclient/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/libvncclient/Makefile b/libvncclient/Makefile
new file mode 100644
index 0000000..026b5b2
--- /dev/null
+++ b/libvncclient/Makefile
@@ -0,0 +1,17 @@
+CFLAGS=-g -I.. -I. -Wall
+LDLIBS=-lz -ljpeg
+
+OBJS=cursor.o listen.o rfbproto.o sockets.o vncviewer.o ../libvncserver.a
+
+all: libvncclient.a
+
+rfbproto.o: rfbproto.c corre.c hextile.c rre.c tight.c zlib.c
+
+$(OBJS): ../rfb/rfbclient.h
+
+libvncclient.a: $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+clean:
+ rm *.o *.a
+