mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2025-02-28 11:29:25 +00:00
Use standard malloc
This commit is contained in:
parent
7fb5312423
commit
ff868a98cb
6
Makefile
6
Makefile
@ -8,14 +8,14 @@ OBJECTS = y.tab.o actions.o buildStuff1.o buildStuff2.o\
|
||||
buildStuff3.o builtInFunctions.o builtInFunsSD.o debugPrint.o debugPrintSD.o\
|
||||
emitBranch.o emitStuff.o encode.o errorStuff.o expressionSemantics.o fixups.o\
|
||||
garbage.o initialize.o lexer.o listing.o lookups.o macrossTables.o main.o\
|
||||
malloc.o object.o operandStuffSD.o parserMisc.o semanticMisc.o\
|
||||
object.o operandStuffSD.o parserMisc.o semanticMisc.o\
|
||||
statementSemantics.o structSemantics.o tokenStrings.o
|
||||
|
||||
SOURCES = macross_$(PROC).y actions_$(PROC).c buildStuff1.c buildStuff2.c\
|
||||
buildStuff3.c builtInFunctions.c builtInFunsSD_$(PROC).c debugPrint.c\
|
||||
debugPrintSD_$(PROC).c emitBranch_$(PROC).c emitStuff.c encode.c errorStuff.c\
|
||||
expressionSemantics.c fixups.c garbage.c initialize.c lexer.c listing.c\
|
||||
lookups.c macrossTables_$(PROC).c main.c malloc.c object.c\
|
||||
lookups.c macrossTables_$(PROC).c main.c object.c\
|
||||
operandStuffSD_$(PROC).c parserMisc.c semanticMisc.c statementSemantics.c\
|
||||
structSemantics.c tokenStrings_$(PROC).c lexerTables.h macrossGlobals.h\
|
||||
macrossTypes.h operandDefs_$(PROC).h operandBody_$(PROC).h\
|
||||
@ -133,8 +133,6 @@ macrossTables.o: macrossTables_$(PROC).c y.tab.h macrossTypes.h
|
||||
cc $(CFLAGS) -c -g -DTARGET_CPU=CPU_$(PROC) macrossTables_$(PROC).c
|
||||
mv macrossTables_$(PROC).o macrossTables.o
|
||||
|
||||
malloc.o: malloc.c
|
||||
|
||||
main.o: main.c $(HEADERS)
|
||||
|
||||
object.o: object.c $(HEADERS)
|
||||
|
@ -31,6 +31,7 @@
|
||||
#ifndef MACROSS_TYPES_H_
|
||||
#define MACROSS_TYPES_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/*
|
||||
|
@ -27,6 +27,7 @@
|
||||
8-March-1985
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
Loading…
x
Reference in New Issue
Block a user