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

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [ecos/] [Makefile] - Blame information for rev 673

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
include $(CONFIG)
7
 
8
######################## Additional Flags section ############################
9
 
10
# Directories list for header files
11
INCLUDEDIRS +=
12
# Defines for preprocessor
13
DEFINES +=
14
 
15
# Compilation flags for C files OTHER than include directories
16
CFLAGS +=
17
# Preprocessor flags OTHER than defines
18
CPPFLAGS +=
19
# Linking flags
20
LDFLAGS += -Wl,--gc-sections -Wl,-static -Wl,-N -g -O2 -nostdlib -L$(ECOS_PREFIX)/lib -Ttarget.ld
21
 
22
############################# targets section ################################
23
 
24
# If you want to create a library with the objects files, define the name here
25
LIBNAME =
26
LIBNAMESO =
27
 
28
# List of objects to compile
29
OBJS = ecos_app.o ecos_init.o
30
NANO_OBJS =
31
DEFINES += -DUSE_ROMDISK
32
OBJS += nanox_thread.o
33
NANO_OBJS += $(TOP)/bin/nano-X.o $(TOP)/bin/nwidgets.o
34
OBJS += nanowm_thread.o
35
NANO_OBJS += $(TOP)/bin/nanowm.o
36
OBJS += nxkbd_thread.o
37
NANO_OBJS += $(TOP)/bin/nxkbd.o
38
DEFINES += -DUSE_NXSCRIBBLE
39
OBJS += nxscribble_thread.o
40
NANO_OBJS += $(TOP)/bin/nxscribble.o
41
DEFINES += -DUSE_LANDMINE
42
OBJS += landmine_thread.o
43
NANO_OBJS += $(TOP)/bin/landmine.o
44
DEFINES += -DUSE_NTETRIS
45
OBJS += ntetris_thread.o
46
NANO_OBJS += $(TOP)/bin/ntetris.o
47
DEFINES += -DUSE_WORLD
48
OBJS += world_thread.o
49
NANO_OBJS += $(TOP)/bin/world.o
50
 
51
 
52
# demos should be built after the libs !
53
all: ecos_app
54
 
55
######################### Makefile.rules section #############################
56
 
57
include $(TOP)/Makefile.rules
58
 
59
######################## Tools targets section ###############################
60
 
61
ecos_app: $(OBJS) $(NANO_OBJS)
62
 
63
ecos_app.o: Makefile
64
 
65
 

powered by: WebSVN 2.1.0

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