diff options
-rw-r--r-- | 1instance.c | 1 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/1instance.c b/1instance.c index 78d6b27..8feadb5 100644 --- a/1instance.c +++ b/1instance.c @@ -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) |