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

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [mwin/] [bmp/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
##############################################################################
2
# Microwindows template Makefile
3
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
4
##############################################################################
5
 
6
ifndef TOP
7
TOP = ../..
8
CONFIG = $(TOP)/config
9
endif
10
 
11
include $(CONFIG)
12
 
13
#all: $(TOP)/bin/convbmp
14
#HOSTCC=gcc
15
#HOSTCFLAGS=-I../../include
16
 
17
######################## Additional Flags section ############################
18
 
19
# Directories list for header files
20
INCLUDEDIRS +=
21
# Defines for preprocessor
22
DEFINES +=
23
 
24
# Compilation flags for C files OTHER than include directories
25
CFLAGS +=
26
# Preprocessor flags OTHER than defines
27
CPPFLAGS +=
28
# Linking flags
29
LDFLAGS +=
30
 
31
############################# targets section ################################
32
 
33
ifeq ($(MICROWIN), Y)
34
 
35
# If you want to create a library with the objects files, define the name here
36
LIBNAME = libmwimages.a
37
LIBNAMESO = libmwimages.so
38
 
39
# List of objects to compile
40
OBJS = car8.o min4.o max4.o close4.o under4.o\
41
        zion208.o cs1.o rle8.o microwin.o penguin.o
42
 
43
all: $(TOP)/bin/convbmp $(TOP)/bin/makebmp default
44
 
45
convbmp: convbmp.c
46
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@
47
 
48
endif
49
 
50
######################### Makefile.rules section #############################
51
 
52
include $(TOP)/Makefile.rules
53
 
54
######################## Tools targets section ###############################
55
 
56
realclean: clean
57
        $(RM) car8.c min4.c max4.c close4.c under4.c zion208.c cs1.c rle8.c \
58
        microwin.c penguin.c
59
 
60
$(TOP)/bin/convbmp: convbmp.c
61
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@
62
 
63
$(TOP)/bin/makebmp: makebmp.c
64
        $(HOSTCC) $(HOSTCFLAGS) $< -o $@

powered by: WebSVN 2.1.0

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