dslinux/user/pixil/apps/games Config.in Makefile

amadeus dslinux_amadeus at user.in-berlin.de
Tue Oct 3 13:24:36 CEST 2006


Update of /cvsroot/dslinux/dslinux/user/pixil/apps/games
In directory antilope:/tmp/cvs-serv11916/apps/games

Added Files:
	Config.in Makefile 
Log Message:
adding pristine copy of pixil to HEAD so I can branch from it

--- NEW FILE: Config.in ---
menu "Nano-X Games"
depends CONFIG_NANOX

config CONFIG_GAMES
	bool "Build Nano-X games"
	default y
	help
	  Say yes here to build a number of Nano-X based
	  games.

config CONFIG_GAMES_MINESWEEP
       bool "Minsweep"
       depends CONFIG_GAMES
       default y
       help
         Say yes here to build a minesweeper clone.

config CONFIG_GAMES_SNAKE
       bool "Snake"
       depends CONFIG_GAMES
       default y
       help
         Say yes here to build a nibbles clone.

config CONFIG_GAMES_NXBILL
       bool "NXBill"
       depends CONFIG_GAMES
       default y
       help
         Say yes here to build a clone of XBill for
	 Microwindows

endmenu


--- NEW FILE: Makefile ---
# games/Makefile

target-y=
target-$(CONFIG_GAMES_MINESWEEP) += minesweep
target-$(CONFIG_GAMES_SNAKE) += snake
target-$(CONFIG_GAMES_NXBILL) += nxbill

# This will ensure that we only build one target at a time
DIRS=$(sort $(target-y))

subdir-build = $(patsubst %,_subdir_%,$(DIRS))
subdir-clean = $(patsubst %,_clean_%,$(DIRS))
subdir-install = $(patsubst %,_install_%,$(DIRS))

all: $(subdir-build)
clean: $(subdir-clean)
install: $(subdir-install)

$(subdir-build): dummy
	@ $(MAKE) -C $(patsubst _subdir_%,%,$@)

$(subdir-clean): dummy
	@ $(MAKE) -C $(patsubst _clean_%,%,$@) clean

$(subdir-install): dummy
	@ $(MAKE) -C $(patsubst _install_%,%,$@) install

dummy:





More information about the dslinux-commit mailing list