aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 82b4afc..305844d 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,9 @@ MAN1DIR=$(MANDIR)/man1
DOCDIR=$(PREFIX)/share/doc/bw-atari8-tools
# Compiler stuff
+COPT=-O2
CC=gcc
-CFLAGS=-Wall -O2 -ansi -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
+CFLAGS=-Wall $(COPT) -ansi -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
# BINS and SCRIPTS go in $BINDIR, DOCS go in $DOCDIR
BINS=a8eol xfd2atr atr2xfd blob2c cart2xex fenders xexsplit xexcat atrsize rom2cart unmac65 axe
@@ -121,6 +122,9 @@ xexsplit: xexsplit.c xex.o
xexcat: xexcat.c xex.o get_address.o
$(CC) $(CFLAGS) -o xexcat xexcat.c xex.o get_address.o
+# This is a work-in-progress, not ready yet.
+xexamine: xexamine.c xex.o
+
unmac65.xex: unmac65.c
@rm -f unmac65.o
$(CC65) $(CC65FLAGS) -DVERSION=\"$(VERSION)\" -DTAG=\"$(TAG)\" -t atari -o unmac65.xex unmac65.c