dslinux/user/games/dungeon Makefile

stsp stsp at user.in-berlin.de
Sun Oct 29 15:40:16 CET 2006


Update of /cvsroot/dslinux/dslinux/user/games/dungeon
In directory antilope:/tmp/cvs-serv1936/user/games/dungeon

Modified Files:
	Makefile 
Log Message:
Move games from /bin into /usr/games. Update default PATH accordingly.


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/user/games/dungeon/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	23 May 2006 09:42:52 -0000	1.3
+++ Makefile	29 Oct 2006 14:40:14 -0000	1.4
@@ -1,10 +1,10 @@
 # Makefile for dungeon
 
-# Where to install the program
-BINDIR = /bin
+# Where games are installed in DSLinux
+GAMESDIR=/usr/games
 
 # Where to install the data file
-LIBDIR = /lib
+LIBDIR = /usr/lib
 
 # The dungeon program provides a ``more'' facility which tries to
 # figure out how many rows the terminal has.  Several mechanisms are
@@ -67,10 +67,10 @@
 	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
 
 romfs:
-	$(ROMFSINST) /bin/dungeon
+	$(ROMFSINST) $(GAMESDIR)/dungeon
 	$(ROMFSINST) dtextc.dat /$(LIBDIR)/dtextc.dat
 	$(ROMFSINST) -e CONFIG_USER_GAMES_DUNGEON \
-		-a "#dungeon stream tcp nowait root /bin/dungeon" /etc/inetd.conf
+		-a "#dungeon stream tcp nowait root $(GAMESDIR)/dungeon" /etc/inetd.conf
 
 clean:
 	rm -f $(OBJS) dungeon core dsave.dat *~ dungeon.gdb dungeon.elf




More information about the dslinux-commit mailing list