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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [demos/] [mwobjects/] [Makefile] - Rev 1765

Compare with Previous | Blame | View Log

##############################################################################
#
# MW Objects Makefile
#
# (c) Chris Johns 2000
#
##############################################################################

include $(CONFIG)

# Do nothing for RTEMS 
ifneq ($(ARCH), RTEMS)

######################## Additional Flags section ############################

# Directories list for header files
INCLUDEDIRS +=
# Defines for preprocessor
DEFINES +=

# Compilation flags for C files OTHER than include directories
CFLAGS +=
# Preprocessor flags OTHER than defines
CPPFLAGS +=
# Linking flags
LDFLAGS +=

############################# targets section ################################

ifeq ($(OBJFRAMEWORK), Y)

# List of objects to compile
CXOBJS = mwo-test.o

all: default $(TOP)/bin/mwo-test

endif

######################### Makefile.rules section #############################

include $(TOP)/Makefile.rules

######################## Tools targets section ###############################

CCMWINLIBS = -lmwobjects -lmwin -lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwimages -lm

$(TOP)/bin/mwo-test: mwo-test.o
        $(CXX) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(CCMWINLIBS)


endif

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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