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
|