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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [mw/] [src/] [demos/] [nxroach/] [Makefile] - Blame information for rev 1782

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 += -I./bitmaps
17
# Preprocessor flags OTHER than defines
18
CPPFLAGS +=
19
# Linking flags
20
LDFLAGS += -lm
21
 
22
############################# targets section ################################
23
 
24
ifeq ($(NANOWM), Y)
25
 
26
# If you want to create a library with the objects files, define the name here
27
LIBNAME =
28
 
29
# List of objects to compile
30
OBJS = nxroach.o
31
 
32
all: default $(TOP)/bin/nxroach
33
 
34
endif
35
 
36
######################### Makefile.rules section #############################
37
 
38
include $(TOP)/Makefile.rules
39
 
40
######################## Tools targets section ###############################
41
 
42
ifeq ($(SHAREDLIBS), Y)
43
$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
44
        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)
45
else
46
$(TOP)/bin/nxroach: $(OBJS) $(NANOXCLIENTLIBS) $(TOP)/config
47
        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)
48
endif

powered by: WebSVN 2.1.0

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