LDFLAGS_tgidemo_apple2 = --start-addr 0x4000
LDFLAGS_tgidemo_apple2enh = --start-addr 0x4000
-# The Apple ][ needs the start address adjusted for the mousetest
-LDFLAGS_mousetest_apple2 = --start-addr 0x4000
+# The Apple ][ needs the start address adjusted for the mousedemo
+LDFLAGS_mousedemo_apple2 = --start-addr 0x4000
# The Apple machines need the end address adjusted for large programs
LDFLAGS_gunzip65_apple2 = -D __HIMEM__=0xBF00
%: %.s
.c.o:
- $(CC) $(CFLAGS) -Oirs --codesize 500 -T -g -t $(SYS) $<
+ $(CC) $(CFLAGS) -Ors --codesize 500 -T -g -t $(SYS) $<
$(AS) $(<:.c=.s)
.s.o:
gunzip65 \
hello \
mandelbrot \
- mousetest \
+ mousedemo \
multdemo \
nachtm \
ovrldemo \
gunzip65 \
hello \
mandelbrot \
- mousetest \
+ mousedemo \
multdemo \
ovrldemo \
sieve \
gunzip65 \
hello \
mandelbrot \
- mousetest \
+ mousedemo \
multdemo \
ovrldemo \
sieve \
EXELIST_atarixl = $(EXELIST_atari)
-EXELIST_atari2600 = \
+EXELIST_atari2600 = \
atari2600hello
# --------------------------------------------------------------------------
# Installation rules
INSTALL = install
-samplesdir = $(prefix)/share/cc65
+samplesdir = $(PREFIX)/share/cc65/samples
install:
- $(if $(prefix),,$(error variable `prefix' must be set))
+ $(if $(PREFIX),,$(error variable `PREFIX' must be set))
$(INSTALL) -d $(DESTDIR)$(samplesdir)
$(INSTALL) -d $(DESTDIR)$(samplesdir)/geos
$(INSTALL) -d $(DESTDIR)$(samplesdir)/tutorial