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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [demos/] [nanox/] [Makefile] - Diff between revs 673 and 770

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 673 Rev 770
Line 61... Line 61...
        slider.o \
        slider.o \
        ntetris.o \
        ntetris.o \
        launcher.o \
        launcher.o \
        nsaver.o \
        nsaver.o \
        getselection.o \
        getselection.o \
        setselection.o
        setselection.o \
 
        maze.o mazenx.o erase.o
 
 
TARGETS = $(TOP)/bin/demo $(TOP)/bin/move $(TOP)/bin/landmine \
TARGETS = $(TOP)/bin/demo $(TOP)/bin/move $(TOP)/bin/landmine \
        $(TOP)/bin/world $(TOP)/bin/nxclock $(TOP)/bin/nxterm \
        $(TOP)/bin/world $(TOP)/bin/nxclock $(TOP)/bin/nxterm \
        $(TOP)/bin/nxview $(TOP)/bin/nxlsclients $(TOP)/bin/nxev \
        $(TOP)/bin/nxview $(TOP)/bin/nxlsclients $(TOP)/bin/nxev \
        $(TOP)/bin/npanel $(TOP)/bin/nterm \
        $(TOP)/bin/npanel $(TOP)/bin/nterm \
        $(TOP)/bin/demo2 $(TOP)/bin/demo5 $(TOP)/bin/demo6 \
        $(TOP)/bin/demo2 $(TOP)/bin/demo5 $(TOP)/bin/demo6 \
        $(TOP)/bin/t1demo $(TOP)/bin/ftdemo $(TOP)/bin/logfont \
        $(TOP)/bin/t1demo $(TOP)/bin/ftdemo $(TOP)/bin/logfont \
        $(TOP)/bin/slider $(TOP)/bin/ntetris $(TOP)/bin/launcher \
        $(TOP)/bin/slider $(TOP)/bin/ntetris $(TOP)/bin/launcher \
        $(TOP)/bin/nsaver $(TOP)/bin/getselection $(TOP)/bin/setselection
        $(TOP)/bin/nsaver $(TOP)/bin/getselection $(TOP)/bin/setselection \
 
        $(TOP)/bin/maze
endif
endif
 
 
all: default $(TARGETS)
all: default $(TARGETS)
        $(CP) world.map nanogui.ppm ntetris.ppm launcher.cnf tux.gif $(TOP)/bin
        $(CP) world.map nanogui.ppm ntetris.ppm launcher.cnf tux.gif $(TOP)/bin
 
 
Line 152... Line 154...
 
 
$(TOP)/bin/launcher: launcher.o $($NANOXCLIENTLIBS) $(TOP)/config
$(TOP)/bin/launcher: launcher.o $($NANOXCLIENTLIBS) $(TOP)/config
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
 
 
$(TOP)/bin/nsaver: nsaver.o $($NANOXCLIENTLIBS) $(TOP)/config
$(TOP)/bin/nsaver: nsaver.o $($NANOXCLIENTLIBS) $(TOP)/config
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS) -lm
 
 
$(TOP)/bin/getselection: getselection.o $($NANOXCLIENTLIBS) $(TOP)/config
$(TOP)/bin/getselection: getselection.o $($NANOXCLIENTLIBS) $(TOP)/config
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
 
 
$(TOP)/bin/setselection: setselection.o $($NANOXCLIENTLIBS) $(TOP)/config
$(TOP)/bin/setselection: setselection.o $($NANOXCLIENTLIBS) $(TOP)/config
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
        $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LD_NANOXCLIENTLIBS)
 
 
 
$(TOP)/bin/maze: maze.o mazenx.o erase.o $($NANOXCLIENTLIBS) $(TOP)/config
 
        $(CC) $(CFLAGS) $(LDFLAGS) maze.o mazenx.o erase.o -o $@ $(LD_NANOXCLIENTLIBS) -lm
 
 
ifeq ($(ARCH), ECOS)
ifeq ($(ARCH), ECOS)
# Special build rules for linked in applications
# Special build rules for linked in applications
$(TOP)/bin/landmine.o: landmine.o
$(TOP)/bin/landmine.o: landmine.o
#       $(CC) $(CFLAGS) $(LDFLAGS) $< -Wl,-r -Wl,--retain-symbols-file -Wl,landmine.syms -Wl,--defsym -Wl,landmine_main=main -o XX.o
#       $(CC) $(CFLAGS) $(LDFLAGS) $< -Wl,-r -Wl,--retain-symbols-file -Wl,landmine.syms -Wl,--defsym -Wl,landmine_main=main -o XX.o
        $(CC) $(CFLAGS) $(LDFLAGS) $< -Wl,-r -Wl,--defsym -Wl,landmine_main=main -o XX.o
        $(CC) $(CFLAGS) $(LDFLAGS) $< -Wl,-r -Wl,--defsym -Wl,landmine_main=main -o XX.o

powered by: WebSVN 2.1.0

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