mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Move src/asmotor.h to top-level include/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ASMOTOR_H
|
#ifndef ASMOTOR_ASMOTOR_H
|
||||||
#define ASMOTOR_H
|
#define ASMOTOR_ASMOTOR_H
|
||||||
|
|
||||||
#define ASMOTOR
|
#define ASMOTOR
|
||||||
|
|
||||||
@@ -22,4 +22,4 @@
|
|||||||
#define strnicmp strncasecmp
|
#define strnicmp strncasecmp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // ASMOTOR_H
|
#endif
|
||||||
@@ -20,7 +20,7 @@ rgbasm: $(obj)
|
|||||||
gcc -Wall -o $@ $^ -lm
|
gcc -Wall -o $@ $^ -lm
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
gcc -Wall -DGAMEBOY -I. -I.. -I../../include -Igameboy -g -c -o $@ $<
|
gcc -Wall -DGAMEBOY -I../../include -Igameboy -g -c -o $@ $<
|
||||||
|
|
||||||
.y.c:
|
.y.c:
|
||||||
bison -d -o $@ $^
|
bison -d -o $@ $^
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#include "asm/symbol.h"
|
#include "asm/symbol.h"
|
||||||
#include "asm/lexer.h"
|
#include "asm/lexer.h"
|
||||||
#include "asm/rpn.h"
|
#include "asm/rpn.h"
|
||||||
#include "asm/asmy.h"
|
|
||||||
|
#include "../asmy.h"
|
||||||
|
|
||||||
struct sLexInitString localstrings[] = {
|
struct sLexInitString localstrings[] = {
|
||||||
{ "adc", T_Z80_ADC },
|
{ "adc", T_Z80_ADC },
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
#include "asm/asm.h"
|
#include "asm/asm.h"
|
||||||
#include "asm/symbol.h"
|
#include "asm/symbol.h"
|
||||||
#include "asm/rpn.h"
|
#include "asm/rpn.h"
|
||||||
#include "asm/asmy.h"
|
|
||||||
#include "asm/symbol.h"
|
#include "asm/symbol.h"
|
||||||
#include "asm/main.h"
|
#include "asm/main.h"
|
||||||
#include "asm/lexer.h"
|
#include "asm/lexer.h"
|
||||||
|
|
||||||
|
#include "asmy.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
#include "asm/types.h"
|
#include "asm/types.h"
|
||||||
#include "asm/main.h"
|
#include "asm/main.h"
|
||||||
#include "asm/rpn.h"
|
#include "asm/rpn.h"
|
||||||
#include "asm/asmy.h"
|
|
||||||
#include "asm/fstack.h"
|
#include "asm/fstack.h"
|
||||||
|
|
||||||
|
#include "asmy.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ xlib: $(obj)
|
|||||||
gcc -Wall -o $@ $^
|
gcc -Wall -o $@ $^
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
gcc -Wall -I. -I.. -I../../include -g -c -o $@ $<
|
gcc -Wall -I../../include -g -c -o $@ $<
|
||||||
|
|||||||
@@ -17,5 +17,5 @@ xlink: $(obj)
|
|||||||
gcc -Wall -o $@ $^
|
gcc -Wall -o $@ $^
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
gcc -Wall -I. -I.. -I../../include -g -c -o $@ $<
|
gcc -Wall -I../../include -g -c -o $@ $<
|
||||||
|
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ rgbfix: $(obj)
|
|||||||
gcc -Wall -o $@ $^
|
gcc -Wall -o $@ $^
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
gcc -Wall -I. -I.. -Iinclude -g -c -o $@ $<
|
gcc -Wall -I../../include -g -c -o $@ $<
|
||||||
|
|||||||
Reference in New Issue
Block a user