URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [mw/] [src/] [demos/] [vnc/] [vncviewer/] [Makefile] - Rev 1778
Go to most recent revision | Compare with Previous | Blame | View Log
##############################################################################
# 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 ###############################
NANOXCLIENTLIBS += $(TOP)/lib/libvncauth.a
$(TOP)/bin/vnc: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)
Go to most recent revision | Compare with Previous | Blame | View Log