.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = apple2
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = apple2enh
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = atari
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = atmos
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = c128
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = c16
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = c64
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = cbm510
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = cbm610
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
all: $(C_OBJS) $(S_OBJS)
clean:
- @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
+ @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
zap: clean
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
all: $(C_OBJS) $(S_OBJS)
clean:
- @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
+ @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
zap: clean
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = lynx
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
# Object files
OBJS = crt0.o \
+ ctype.o \
eeprom.o \
framerate.o \
- upload.o
+ getenv.o \
+ mainargs.o \
+ sysuname.o \
+ upload.o
#--------------------------------------------------------------------------
# Drivers
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = nes
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = pet
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
conio.o \
cputc.o \
crt0.o \
+ get_tv.o \
kbhit.o \
kbsout.o \
kchkin.o \
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = c16
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
@$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
zap: clean
- @$(RM) $(EMDS) $(JOYS) $(SERS) $(TGIS)
+ @$(RM) $(EMDS) $(JOYS) $(SERS) $(TGIS)
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = supervision
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
C_OBJS =
S_OBJS = crt0.o \
- ctype.o
+ ctype.o
#--------------------------------------------------------------------------
# Targets
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules
.SUFFIXES: .o .s .c
+#--------------------------------------------------------------------------
+# Programs and flags
+
+SYS = none
+
+AS = ../../src/ca65/ca65
+CC = ../../src/cc65/cc65
+LD = ../../src/ld65/ld65
+
+AFLAGS = -t $(SYS) -I../../asminc
+CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
+
#--------------------------------------------------------------------------
# Rules