mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
This commit is contained in:
7
Makefile
7
Makefile
@@ -58,7 +58,12 @@ install: all
|
||||
${Q}install -s -m 555 rgbfix ${BINPREFIX}/rgbfix
|
||||
${Q}install -s -m 555 rgblink ${BINPREFIX}/rgblink
|
||||
${Q}install -s -m 555 rgblib ${BINPREFIX}/rgblib
|
||||
${Q}install -m 444 src/rgbds.7 ${MANPREFIX}/man7/rgbds.7
|
||||
${Q}install -m 444 src/rgbds.7 ${MANPREFIX}/man7/rgbds.7 || \
|
||||
(echo Installing manpages to ${MANPREFIX} failed. >&2 && \
|
||||
echo Check where your manpages are installed and set the \
|
||||
proper directory >&2 && \
|
||||
echo with, e.g., make install MANPREFIX=/usr/share/man \
|
||||
>&2 ; false)
|
||||
${Q}install -m 444 src/asm/rgbasm.1 \
|
||||
${MANPREFIX}/man1/rgbasm.1
|
||||
${Q}install -m 444 src/fix/rgbfix.1 \
|
||||
|
||||
@@ -365,12 +365,12 @@ sym_GetValue(char *s)
|
||||
}
|
||||
return (getvaluefield(psym));
|
||||
} else {
|
||||
if ((nPass == 1) || (psym->nType & SYMF_IMPORT)) {
|
||||
if (nPass == 2) {
|
||||
/* Assume undefined symbols are imported from somewhere else */
|
||||
psym->nType |= SYMF_IMPORT;
|
||||
}
|
||||
/* 0x80 seems like a good default value... */
|
||||
return (0x80);
|
||||
} else {
|
||||
yyerror("'%s' not defined", s);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (nPass == 1) {
|
||||
|
||||
Reference in New Issue
Block a user