dslinux/user/rl Makefile config.h rl.c

stsp stsp at user.in-berlin.de
Sun Oct 15 12:28:00 CEST 2006


Update of /cvsroot/dslinux/dslinux/user/rl
In directory antilope:/tmp/cvs-serv8191/user/rl

Modified Files:
	rl.c 
Added Files:
	Makefile config.h 
Log Message:
Make rl compile.

Patch by Cayenne Boyer:

  I want to use it to add randomizing functionality to the flash card
  program I wrote without having to spend time to make it do a worse
  job.  But there are many uses for it.



--- NEW FILE: config.h ---
/* Version number of package */
#define VERSION "0.2.5"

/* use standard rand() rng */
#define USE_RAND_RNG 1

--- NEW FILE: Makefile ---
# Makefile to build rl for DSLinux
#
# Makefile by Cayenne Boyer

EXEC = rl
OBJS = rl.o alloc.o buffer.o random.o 

.PHONY: all romfs clean

all: $(EXEC)

$(EXEC): $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

romfs:
	$(ROMFSINST) /bin/$(EXEC)

clean:
	rm -f $(EXEC) *.elf *.gdb *.o

Index: rl.c
===================================================================
RCS file: /cvsroot/dslinux/dslinux/user/rl/rl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rl.c	15 Oct 2006 10:21:39 -0000	1.1
+++ rl.c	15 Oct 2006 10:27:57 -0000	1.2
@@ -112,8 +112,9 @@
   fprintf(fp,"rl %s\n",VERSION);
   fprintf(fp,_("Written by Arthur de Jong.\n\n"));
   fprintf(fp,_("Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Arthur de Jong.\n"
-               "This is free software; see the source for copying conditions.  There is NO\n"
-               "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"));
+               "This is free software; see the source for copying conditions.\n"  
+               "There is NO warranty; not even for MERCHANTABILITY or FITNESS\n"
+               "FOR A PARTICULAR PURPOSE.\n"));
 }
 
 




More information about the dslinux-commit mailing list