# libvnc makefile KEYGENOBJ = keygen.o os_calls.o ssl_calls.o DEFINES = CFLAGS = -Wall -O2 -I../common $(DEFINES) C_OS_FLAGS = $(CFLAGS) -c LDFLAGS = LIBS = -ldl -lcrypto CC = gcc all: xrdp-keygen xrdp-keygen: $(KEYGENOBJ) $(CC) $(LDFLAGS) -o xrdp-keygen $(KEYGENOBJ) $(LIBS) clean: rm -f $(KEYGENOBJ) xrdp-keygen os_calls.o: ../common/os_calls.c $(CC) $(C_OS_FLAGS) ../common/os_calls.c ssl_calls.o: ../common/ssl_calls.c $(CC) $(C_OS_FLAGS) ../common/ssl_calls.c