mirror of
https://github.com/cc65/cc65.git
synced 2024-08-14 14:29:07 +00:00
Originally I used the usual variables (like $(CC) and $(CFLAGS) ) but after all this doesn't make sense as any predefined values and/or user defined settings can only be wrong.
17 lines
1003 B
Makefile
17 lines
1003 B
Makefile
# NUMDRVS - number of supported drives (max. 16)
|
|
# 4 bytes for each device are statically allocated
|
|
# LINEBUF - support line buffered reads from E: (the number specifies
|
|
# the length of the buffer)
|
|
# UCASE_FILENAME - all filenames get uppercased
|
|
# DEFAULT_DEVICE - if the string passed to the uppercase function doesn't
|
|
# include a device (":" at position 2 or 3), provide "Dn:"
|
|
# as a default disk device
|
|
# n is the value of DEFAULT_DEVICE, unless DYNAMIC_DD is
|
|
# also set, in which case it's overridden by a runtime
|
|
# check (on SpartaDOS only)
|
|
# needs UCASE_FILENAME to be defined, otherwise no effect
|
|
# DYNAMIC_DD - determine default disk device at runtime (SpartaDOS only)
|
|
# needs DEFAULT_DEVICE to be defined, otherwise no effect
|
|
|
|
CA65FLAGS += -D NUMDRVS=4 -D LINEBUF=80 -D UCASE_FILENAME=1 -D DEFAULT_DEVICE=1 -D DYNAMIC_DD=1
|