compile warning fix, dependency on 1instance.c

pull/1/head
dscho 23 years ago
parent 4d7ecfb8c1
commit fbf2c977fe

@ -4,6 +4,7 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
typedef struct {
char* filename; /* this file is the pipe (set by user) */

@ -54,9 +54,13 @@ example: example.o libvncserver.a
pnmshow: pnmshow.o libvncserver.a
$(CC) -o pnmshow pnmshow.o $(LIBS)
mac.o: mac.c 1instance.c
OSXvnc-server: mac.o libvncserver.a
$(CC) -o OSXvnc-server mac.o $(LIBS) $(OSX_LIBS)
x11vnc.o: x11vnc.c 1instance.c
x11vnc: x11vnc.o libvncserver.a
$(CC) -o x11vnc x11vnc.o libvncserver.a -lz -ljpeg $(XLIBS)

Loading…
Cancel
Save