2004-11-28 07:56:58 +03:00
|
|
|
|
2005-03-13 04:17:30 +03:00
|
|
|
VNCOBJ = vnc.o os_calls.o d3des.o
|
2005-01-07 04:05:30 +03:00
|
|
|
CFLAGS = -Wall -O2 -I../common
|
2005-03-13 04:17:30 +03:00
|
|
|
C_OS_FLAGS = $(CFLAGS) -c
|
2004-11-28 07:56:58 +03:00
|
|
|
LDFLAGS = -shared
|
|
|
|
LIBS = -ldl
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
all: vnc
|
|
|
|
|
|
|
|
vnc: $(VNCOBJ)
|
|
|
|
$(CC) $(LDFLAGS) -o libvnc.so $(VNCOBJ) $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
2005-01-07 04:05:30 +03:00
|
|
|
rm -f $(VNCOBJ) libvnc.so
|
2005-03-13 04:17:30 +03:00
|
|
|
|
|
|
|
os_calls.o:
|
|
|
|
$(CC) $(C_OS_FLAGS) ../common/os_calls.c
|
|
|
|
|
|
|
|
d3des.o:
|
|
|
|
$(CC) $(C_OS_FLAGS) ../common/d3des.c
|