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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [Makefile] - Blame information for rev 1773

Go to most recent revision | 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
TOP = $(shell pwd)
7
 
8
# See if the user has a local config file. If so use that else
9
# use the one provided in the distribution.
10
ifeq ($(HOME)/microwin/config,$(wildcard $(HOME)/microwin/config))
11
CONFIG = $(HOME)/microwin/config
12
else
13
CONFIG = $(TOP)/config
14
endif
15
 
16
include $(CONFIG)
17
 
18
######################## Additional Flags section ############################
19
 
20
# Directories list for header files
21
INCLUDEDIRS +=
22
# Defines for preprocessor
23
DEFINES +=
24
 
25
# Compilation flags for C files OTHER than include directories
26 716 simons
CFLAGS +=
27
# CFLAGS += -Werror-implicit-function-declaration
28 673 markom
# Preprocessor flags OTHER than defines
29
CPPFLAGS +=
30
# Linking flags
31 716 simons
LDFLAGS += -r -d
32 673 markom
 
33
############################# targets section ################################
34
 
35
# If you want to create a library with the objects files, define the name here
36
LIBNAME =
37
LIBNAMESO =
38
 
39
# List of objects to compile
40
OBJS =
41
 
42
# demos should be built after the libs !
43
dirs = drivers mwin engine fonts nanox
44
 
45
all: default
46
        -$(MAKE) -C demos
47
ifeq ($(ARCH), ECOS)
48
        $(MAKE) -C ecos
49
endif
50
 
51
######################### Makefile.rules section #############################
52
 
53
include $(TOP)/Makefile.rules
54
 
55
######################## Tools targets section ###############################

powered by: WebSVN 2.1.0

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