ref: bfbc9fd1012118de3fc052f836aa58a845747997
parent: 084cc995e703e6f791a52a0deee5d82b796ddce5
author: bentley <[email protected]>
date: Fri Jan 15 07:42:16 EST 2010
while we're removing backwards compatibility, rename xlink->rgblink
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@
src/lib/library.o \
src/lib/main.o
-xlink_obj := \
+rgblink_obj := \
src/link/assign.o \
src/link/library.o \
src/link/main.o \
@@ -40,12 +40,12 @@
rgbfix_obj := \
src/fix/main.o
-all: rgbasm xlib xlink rgbfix
+all: rgbasm xlib rgblink rgbfix
clean:
rm -rf rgbasm $(rgbasm_obj)
rm -rf xlib $(xlib_obj)
- rm -rf xlink $(xlink_obj)
+ rm -rf rgblink $(rgblink_obj)
rm -rf rgbfix $(rgbfix_obj)
rm -rf src/asm/asmy.c
@@ -55,8 +55,8 @@
xlib: $(xlib_obj)
${CC} $(cflags) -o $@ $(xlib_obj)
-xlink: $(xlink_obj)
- ${CC} $(cflags) -o $@ $(xlink_obj)
+rgblink: $(rgblink_obj)
+ ${CC} $(cflags) -o $@ $(rgblink_obj)
rgbfix: $(rgbfix_obj)
${CC} $(cflags) -o $@ $(rgbfix_obj)
--- a/src/link/main.c
+++ b/src/link/main.c
@@ -40,9 +40,9 @@
static void
usage(void)
{
- printf("xLink v" LINK_VERSION " (part of ASMotor " ASMOTOR_VERSION
+ printf("RGBLink v" LINK_VERSION " (part of ASMotor " ASMOTOR_VERSION
")\n\n");
- printf("usage: xlink [-t] [-l library] [-m mapfile] [-n symfile] [-o outfile] [-s symbol]\n");
+ printf("usage: rgblink [-t] [-l library] [-m mapfile] [-n symfile] [-o outfile] [-s symbol]\n");
printf("\t [-z pad_value] objectfile [...]\n");
exit(EX_USAGE);