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/] [demos/] [mwin/] [Makefile] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
##############################################################################
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 +=
21
 
22
############################# targets section ################################
23
 
24
ifeq ($(MICROWIN), Y)
25
ifeq ($(MICROWINDEMO), Y)
26
 
27
# If you want to create a library with the objects files, define the name here
28
LIBNAME =
29
 
30
# List of objects to compile
31
OBJS =  mdemo.o mterm.o malpha.o mtest.o mine.o mtest2.o
32
MINEIMAGES = mineflag.o mineface.o minefacelost.o minebomb.o minedone.o\
33
        minehitfalse.o
34
 
35
DEMOS = $(TOP)/bin/mdemo\
36
        $(TOP)/bin/mterm\
37
        $(TOP)/bin/malpha\
38
        $(TOP)/bin/mtest\
39
        $(TOP)/bin/mtest2\
40
        $(TOP)/bin/mine
41
 
42
ifneq ($(ARCH), ELKS)
43
DEMOS += $(TOP)/bin/muserfd
44
endif
45
 
46
all: default $(DEMOS)
47
 
48
endif
49
endif
50
 
51
######################### Makefile.rules section #############################
52
 
53
include $(TOP)/Makefile.rules
54
 
55
######################## Tools targets section ###############################
56
 
57
$(TOP)/bin/mdemo: mdemo.o $(MWINLIBS) $(TOP)/config
58
        $(CC) $(CFLAGS) $(LDFLAGS) mdemo.o -o $@ $(CCMWINLIBS)
59
 
60
$(TOP)/bin/mterm: mterm.o $(MWINLIBS) $(TOP)/config
61
        $(CC) $(CFLAGS) $(LDFLAGS) mterm.o -o $@ $(CCMWINLIBS)
62
 
63
$(TOP)/bin/malpha: malpha.o $(MWINLIBS) $(TOP)/config
64
        $(CC) $(CFLAGS) $(LDFLAGS) malpha.o -o $@ $(CCMWINLIBS)
65
 
66
$(TOP)/bin/mtest: mtest.o $(MWINLIBS) $(TOP)/config
67
        $(CC) $(CFLAGS) $(LDFLAGS) mtest.o -o $@ $(CCMWINLIBS)
68
 
69
$(TOP)/bin/mtest2: mtest2.o $(MWINLIBS) $(TOP)/config
70
        $(CC) $(CFLAGS) $(LDFLAGS) mtest2.o -o $@ $(CCMWINLIBS)
71
 
72
$(TOP)/bin/mine: mine.o $(MINEIMAGES) $(MWINLIBS) $(TOP)/config
73
        $(CC) $(CFLAGS) $(LDFLAGS) mine.o $(MINEIMAGES) -o $@ $(CCMWINLIBS)
74
 
75
$(TOP)/bin/muserfd: muserfd.o $(MWINLIBS) $(TOP)/config
76
        $(CC) $(CFLAGS) $(LDFLAGS) muserfd.o -o $@ $(CCMWINLIBS)
77
 

powered by: WebSVN 2.1.0

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