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