summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstrid Smith2011-10-22 00:50:26 -0700
committerAstrid Smith2011-10-22 00:50:26 -0700
commit872a0b0132e62351d6674b84cabe4a87d9c95570 (patch)
tree0fd78744ced2d6b080d195d7a88da580d2b9acd8 /Makefile
parent3c802cbedc1f5e5f07afb837efcc160c11336e83 (diff)
Makefile comments
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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