From 872a0b0132e62351d6674b84cabe4a87d9c95570 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Sat, 22 Oct 2011 00:50:26 -0700 Subject: Makefile comments --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ceb582b..8ed8d18 100644 --- a/Makefile +++ b/Makefile @@ -24,12 +24,13 @@ BINS_DEBUG=z680d.dbg OBJ_DEBUG=z680d.89z OBJ=z680k.89z +# executables to build for the host platform NATIVE_OBJ=packager # flags for the tigcc cross-compiler TIGCCFLAGS_DEBUG=--debug -WA,-l$(LISTING_DEBUG) -TIGCCFLAGS=-Wall -Os -ffunction-sections -fdata-sections --optimize-code --cut-ranges --reorder-sections --merge-constants --remove-unused -Wall -Wextra -Wwrite-strings -WA,-d -Wa,--register-prefix-optional -Wa,-alhs -#-Wa,-ahls +TIGCCFLAGS=-Wall -Os -ffunction-sections -fdata-sections --optimize-code --cut-ranges --reorder-sections --merge-constants --remove-unused -Wall -Wextra -Wwrite-strings -WA,-d -Wa,--register-prefix-optional +#-Wa,-ahls # -- for listings # flags for the native C compiler CFLAGS=-Wall -ltifiles @@ -50,6 +51,7 @@ $(OBJ_DEBUG): $(ASM_FILES) $(M4_ASM_OUTPUT) $(C_FILES) $(MADE_FILES) $(C_HEADERS tigcc $(TIGCCFLAGS) $(TIGCCFLAGS_DEBUG) $(ASM) $(C_FILES) -o $(OBJ_DEBUG) # use the host system's native gcc for this +# utility to turn a romdump into a set of image files packager: packager.c gcc $(CFLAGS) packager.c -o packager -- cgit v1.2.3