############################################################################## # Microwindows template Makefile # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr ############################################################################## include $(CONFIG) ######################## Additional Flags section ############################ # Directories list for header files INCLUDEDIRS += -I../include # Defines for preprocessor DEFINES += -DNANOX=1 # Compilation flags for C files OTHER than include directories CFLAGS += # Preprocessor flags OTHER than defines CPPFLAGS += # Linking flags LDFLAGS += ############################# targets section ################################ ifeq ($(NANOX), Y) ifeq ($(NANOXDEMO), Y) # If you want to create a library with the objects files, define the name here LIBNAME = # List of objects to compile OBJS = args.o \ rfbproto.o \ sockets.o \ vncviewer.o \ nanox.o all: default $(TOP)/bin/vnc endif endif ######################### Makefile.rules section ############################# include $(TOP)/Makefile.rules ######################## Tools targets section ############################### MYLIBS = $(TOP)/lib/libvncauth.a $(TOP)/bin/vnc: $(OBJS) $(MYLIBS) $(NANOXCLIENTLIBS) $(TOP)/config $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(MYLIBS) $(NANOXCLIENTLIBS) $(LDLIBS)