ref: dc390e8c1f6e37797e7c852637259b56c481a416
parent: bfbc9fd1012118de3fc052f836aa58a845747997
author: bentley <[email protected]>
date: Fri Jan 15 07:44:46 EST 2010
and rename xlib to rgblib
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@
src/asm/symbol.o \
src/asm/gameboy/locallex.o
-xlib_obj := \
+rgblib_obj := \
src/lib/library.o \
src/lib/main.o
@@ -40,11 +40,11 @@
rgbfix_obj := \
src/fix/main.o
-all: rgbasm xlib rgblink rgbfix
+all: rgbasm rgblib rgblink rgbfix
clean:
rm -rf rgbasm $(rgbasm_obj)
- rm -rf xlib $(xlib_obj)
+ rm -rf rgblib $(rgblib_obj)
rm -rf rgblink $(rgblink_obj)
rm -rf rgbfix $(rgbfix_obj)
rm -rf src/asm/asmy.c
@@ -52,8 +52,8 @@
rgbasm: $(rgbasm_obj)
${CC} $(cflags) -o $@ $(rgbasm_obj) -lm
-xlib: $(xlib_obj)
- ${CC} $(cflags) -o $@ $(xlib_obj)
+rgblib: $(rgblib_obj)
+ ${CC} $(cflags) -o $@ $(rgblib_obj)
rgblink: $(rgblink_obj)
${CC} $(cflags) -o $@ $(rgblink_obj)
--- a/src/lib/main.c
+++ b/src/lib/main.c
@@ -32,8 +32,8 @@
void
PrintUsage(void)
{
- printf("xLib v" LIB_VERSION " (part of ASMotor " ASMOTOR_VERSION ")\n\n"
- "Usage: xlib library command [module1 module2 ... modulen]\n"
+ printf("RGBLib v" LIB_VERSION " (part of ASMotor " ASMOTOR_VERSION ")\n\n"
+ "Usage: rgblib library command [module1 module2 ... modulen]\n"
"Commands:\n\ta\tAdd/replace modules to library\n"
"\td\tDelete modules from library\n"
"\tl\tList library contents\n"