From c62c0fba3ad693901f721e6df17aa249335b6c84 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Sat, 23 Jan 2016 17:45:47 -0800 Subject: [PATCH] Hide warnings, improve Makefile comments --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b215580..753b9a4 100644 --- a/Makefile +++ b/Makefile @@ -25,11 +25,16 @@ emitBranch.h semanticMisc.h expressionSemantics.h HEADERS = macrossTypes.h macrossGlobals.h -CFLAGS=-m32 # macross is not 64 bit clean +# Macross is not 64-bit clean and it does a lot of silent downcasting +# to simulate subclasses and uses int and void * interchangably a +# bunch. +CFLAGS=-m32 -Wno-int-conversion -Wno-incompatible-pointer-types + # If yacc is notionally present on a system, it's usually actually # bison in a compatibility mode. bison is available by name more often -# than bison itself is. -YACC=bison -o y.tab.c +# than yacc itself is. +YACC=bison -y +#YACC=yacc .c.o: cc $(CFLAGS) -c -g -DTARGET_CPU=CPU_$(PROC) $*.c