summaryrefslogtreecommitdiffstats
path: root/vnc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vnc/Makefile')
-rw-r--r--vnc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/vnc/Makefile b/vnc/Makefile
index b94673e2..82b126f9 100644
--- a/vnc/Makefile
+++ b/vnc/Makefile
@@ -1,6 +1,7 @@
-VNCOBJ = ../common/os_calls.o vnc.o ../common/d3des.o vncauth.o
+VNCOBJ = vnc.o os_calls.o d3des.o
CFLAGS = -Wall -O2 -I../common
+C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -shared
LIBS = -ldl
CC = gcc
@@ -12,3 +13,9 @@ vnc: $(VNCOBJ)
clean:
rm -f $(VNCOBJ) libvnc.so
+
+os_calls.o:
+ $(CC) $(C_OS_FLAGS) ../common/os_calls.c
+
+d3des.o:
+ $(CC) $(C_OS_FLAGS) ../common/d3des.c