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

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [mwin/] [bmp/] [Makefile] - Rev 674

Go to most recent revision | Compare with Previous | Blame | View Log

##############################################################################
# Microwindows template Makefile
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
##############################################################################

ifndef TOP
TOP = ../..
CONFIG = $(TOP)/config
endif

include $(CONFIG)

#all: $(TOP)/bin/convbmp
#HOSTCC=gcc
#HOSTCFLAGS=-I../../include

######################## 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 ($(MICROWIN), Y)

# If you want to create a library with the objects files, define the name here
LIBNAME = libmwimages.a
LIBNAMESO = libmwimages.so

# List of objects to compile
OBJS = car8.o min4.o max4.o close4.o under4.o\
        zion208.o cs1.o rle8.o microwin.o penguin.o

all: $(TOP)/bin/convbmp $(TOP)/bin/makebmp default

convbmp: convbmp.c
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@

endif

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

include $(TOP)/Makefile.rules

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

realclean: clean
        $(RM) car8.c min4.c max4.c close4.c under4.c zion208.c cs1.c rle8.c \
        microwin.c penguin.c

$(TOP)/bin/convbmp: convbmp.c
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@

$(TOP)/bin/makebmp: makebmp.c
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@

Go to most recent revision | 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.