OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [Makefile] - Diff between revs 27 and 174

Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
##############################################################################
##############################################################################
# Microwindows template Makefile
# Microwindows template Makefile
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
##############################################################################
##############################################################################
TOP = $(shell pwd)
TOP = $(shell pwd)
# See if the user has a local config file. If so use that else
# See if the user has a local config file. If so use that else
# use the one provided in the distribution.
# use the one provided in the distribution.
ifeq ($(HOME)/microwin/config,$(wildcard $(HOME)/microwin/config))
ifeq ($(HOME)/microwin/config,$(wildcard $(HOME)/microwin/config))
CONFIG = $(HOME)/microwin/config
CONFIG = $(HOME)/microwin/config
else
else
CONFIG = $(TOP)/config
CONFIG = $(TOP)/config
endif
endif
include $(CONFIG)
include $(CONFIG)
######################## Additional Flags section ############################
######################## Additional Flags section ############################
# Directories list for header files
# Directories list for header files
INCLUDEDIRS +=
INCLUDEDIRS +=
# Defines for preprocessor
# Defines for preprocessor
DEFINES +=
DEFINES +=
# Compilation flags for C files OTHER than include directories
# Compilation flags for C files OTHER than include directories
CFLAGS +=
CFLAGS +=
# Preprocessor flags OTHER than defines
# Preprocessor flags OTHER than defines
CPPFLAGS +=
CPPFLAGS +=
# Linking flags
# Linking flags
LDFLAGS +=
LDFLAGS +=
############################# targets section ################################
############################# targets section ################################
# If you want to create a library with the objects files, define the name here
# If you want to create a library with the objects files, define the name here
LIBNAME =
LIBNAME =
LIBNAMESO =
LIBNAMESO =
# List of objects to compile
# List of objects to compile
OBJS =
OBJS =
# demos should be built after the libs !
# demos should be built after the libs !
dirs = drivers mwin engine fonts nanox
dirs = drivers mwin engine fonts nanox
all: default
all: default
        -$(MAKE) -C demos
        -$(MAKE) -C demos
ifeq ($(ARCH), ECOS)
ifeq ($(ARCH), ECOS)
        $(MAKE) -C ecos
        $(MAKE) -C ecos
endif
endif
ecos: default
ecos: default
        -mkdir -p bin lib
        -mkdir -p bin lib
        $(MAKE) -C ecos
        $(MAKE) -C ecos
######################### Makefile.rules section #############################
######################### Makefile.rules section #############################
include $(TOP)/Makefile.rules
include $(TOP)/Makefile.rules
######################## Tools targets section ###############################
######################## Tools targets section ###############################
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.