mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Move version files out of extern folder
The folder extern is reserved for external contributions, not common files. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
8
Makefile
8
Makefile
@@ -58,7 +58,7 @@ rgbasm_obj := \
|
|||||||
src/asm/symbol.o \
|
src/asm/symbol.o \
|
||||||
src/extern/err.o \
|
src/extern/err.o \
|
||||||
src/extern/utf8decoder.o \
|
src/extern/utf8decoder.o \
|
||||||
src/extern/version.o
|
src/version.o
|
||||||
|
|
||||||
src/asm/asmy.h: src/asm/asmy.c
|
src/asm/asmy.h: src/asm/asmy.c
|
||||||
src/asm/locallex.o src/asm/globlex.o src/asm/lexer.o: src/asm/asmy.h
|
src/asm/locallex.o src/asm/globlex.o src/asm/lexer.o: src/asm/asmy.h
|
||||||
@@ -76,7 +76,7 @@ rgblink_obj := \
|
|||||||
src/link/script.o \
|
src/link/script.o \
|
||||||
src/link/symbol.o \
|
src/link/symbol.o \
|
||||||
src/extern/err.o \
|
src/extern/err.o \
|
||||||
src/extern/version.o
|
src/version.o
|
||||||
|
|
||||||
src/link/parser.h: src/link/parser.c
|
src/link/parser.h: src/link/parser.c
|
||||||
src/link/lexer.o: src/link/parser.h
|
src/link/lexer.o: src/link/parser.h
|
||||||
@@ -84,14 +84,14 @@ src/link/lexer.o: src/link/parser.h
|
|||||||
rgbfix_obj := \
|
rgbfix_obj := \
|
||||||
src/fix/main.o \
|
src/fix/main.o \
|
||||||
src/extern/err.o \
|
src/extern/err.o \
|
||||||
src/extern/version.o
|
src/version.o
|
||||||
|
|
||||||
rgbgfx_obj := \
|
rgbgfx_obj := \
|
||||||
src/gfx/gb.o \
|
src/gfx/gb.o \
|
||||||
src/gfx/main.o \
|
src/gfx/main.o \
|
||||||
src/gfx/makepng.o \
|
src/gfx/makepng.o \
|
||||||
src/extern/err.o \
|
src/extern/err.o \
|
||||||
src/extern/version.o
|
src/version.o
|
||||||
|
|
||||||
rgbasm: ${rgbasm_obj}
|
rgbasm: ${rgbasm_obj}
|
||||||
$Q${CC} ${REALCFLAGS} -o $@ ${rgbasm_obj} -lm
|
$Q${CC} ${REALCFLAGS} -o $@ ${rgbasm_obj} -lm
|
||||||
|
|||||||
@@ -22,7 +22,8 @@
|
|||||||
#include "asm/main.h"
|
#include "asm/main.h"
|
||||||
|
|
||||||
#include "extern/err.h"
|
#include "extern/err.h"
|
||||||
#include "extern/version.h"
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
extern int yyparse(void);
|
extern int yyparse(void);
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,8 @@
|
|||||||
#include "asm/output.h"
|
#include "asm/output.h"
|
||||||
|
|
||||||
#include "extern/err.h"
|
#include "extern/err.h"
|
||||||
#include "extern/version.h"
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
struct sSymbol *tHashedSymbols[HASHSIZE];
|
struct sSymbol *tHashedSymbols[HASHSIZE];
|
||||||
static struct sSymbol *pScope; /* Current section symbol scope */
|
static struct sSymbol *pScope; /* Current section symbol scope */
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "extern/err.h"
|
#include "extern/err.h"
|
||||||
#include "extern/version.h"
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
static void print_usage(void)
|
static void print_usage(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "extern/version.h"
|
|
||||||
|
|
||||||
#include "gfx/main.h"
|
#include "gfx/main.h"
|
||||||
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
static void print_usage(void)
|
static void print_usage(void)
|
||||||
{
|
{
|
||||||
printf(
|
printf(
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "extern/err.h"
|
#include "extern/err.h"
|
||||||
#include "extern/version.h"
|
|
||||||
|
|
||||||
#include "link/object.h"
|
#include "link/object.h"
|
||||||
#include "link/output.h"
|
#include "link/output.h"
|
||||||
@@ -24,6 +23,8 @@
|
|||||||
#include "link/main.h"
|
#include "link/main.h"
|
||||||
#include "link/library.h"
|
#include "link/library.h"
|
||||||
|
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
enum eBlockType {
|
enum eBlockType {
|
||||||
BLOCK_COMMENT,
|
BLOCK_COMMENT,
|
||||||
BLOCK_OBJECTS,
|
BLOCK_OBJECTS,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "extern/version.h"
|
#include "version.h"
|
||||||
|
|
||||||
const char *get_package_version_string(void)
|
const char *get_package_version_string(void)
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user