URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [demos/] [nxroach/] [Makefile] - Rev 174
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 +=
# Defines for preprocessor
DEFINES +=
# Compilation flags for C files OTHER than include directories
CFLAGS += -I./bitmaps
# Preprocessor flags OTHER than defines
CPPFLAGS +=
# Linking flags
LDFLAGS += -lm
############################# targets section ################################
ifeq ($(NANOWM), Y)
# If you want to create a library with the objects files, define the name here
LIBNAME =
# List of objects to compile
OBJS = nxroach.o
all: default $(TOP)/bin/nxroach
endif
######################### Makefile.rules section #############################
include $(TOP)/Makefile.rules
######################## Tools targets section ###############################
ifeq ($(SHAREDLIBS), Y)
$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)
else
$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)
endif