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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [ecos/] [Makefile] - Blame information for rev 27

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

Line No. Rev Author Line
1 27 unneback
##############################################################################
2
# Microwindows template Makefile
3
# Copyright (c) 2000, 2002 Martin Jolicoeur, Greg Haerr
4
##############################################################################
5
 
6
include $(CONFIG)
7
 
8
VPATH := $(TOP)/ecos
9
 
10
######################## Additional Flags section ############################
11
 
12
# Directories list for header files
13
INCLUDEDIRS +=
14
# Defines for preprocessor
15
DEFINES +=
16
 
17
# Compilation flags for C files OTHER than include directories
18
CFLAGS +=
19
# Preprocessor flags OTHER than defines
20
CPPFLAGS +=
21
# Linking flags
22
LDFLAGS += -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L$(ECOS_PREFIX)/lib -Ttarget.ld
23
 
24
############################# targets section ################################
25
 
26
# If you want to create a library with the objects files, define the name here
27
LIBNAME =
28
LIBNAMESO =
29
 
30
# List of objects to compile
31
OBJS = ecos_app.o ecos_init.o
32
NANO_OBJS =
33
#DEFINES += -DUSE_ROMDISK
34
OBJS += nanox_thread.o
35
#NANO_OBJS += $(BUILD)/bin/nano-X.o $(BUILD)/bin/nwidgets.o
36
NANO_OBJS += $(BUILD)/bin/nano-X.o
37
OBJS += nanowm_thread.o
38
NANO_OBJS += $(BUILD)/bin/nanowm.o
39
OBJS += nxkbd_thread.o
40
NANO_OBJS += $(BUILD)/bin/nxkbd.o
41
ifeq ($(DEMO), Y)
42
DEFINES += -DUSE_NXSCRIBBLE
43
OBJS += nxscribble_thread.o
44
NANO_OBJS += $(BUILD)/bin/nxscribble.o
45
DEFINES += -DUSE_LANDMINE
46
OBJS += landmine_thread.o
47
NANO_OBJS += $(BUILD)/bin/landmine.o
48
DEFINES += -DUSE_NTETRIS
49
OBJS += ntetris_thread.o
50
NANO_OBJS += $(BUILD)/bin/ntetris.o
51
DEFINES += -DUSE_WORLD
52
OBJS += world_thread.o
53
NANO_OBJS += $(BUILD)/bin/world.o
54
endif
55
ifeq ($(AGDEMO), Y)
56
DEFINES += -DUSE_IMG_DEMO
57
OBJS += img_demo.o
58
endif
59
 
60
# demos should be built after the libs !
61
all: ecos_app
62
 
63
######################### Makefile.rules section #############################
64
 
65
include $(TOP)/Makefile.rules
66
 
67
######################## Tools targets section ###############################
68
 
69
ecos_app: $(OBJS) $(NANO_OBJS)
70
 
71
ecos_app.o: Makefile
72
 
73
 

powered by: WebSVN 2.1.0

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