apple2pi/pidrive/makefile

30 lines
530 B
Makefile
Raw Normal View History

2014-02-10 00:37:46 +00:00
.SUFFIXES =
AFLAGS = -o $@
ROM = ROM\#062000
VDRV = PIDRIVE\#062000
VCLK = PICLOCK\#062000
2014-02-10 00:37:46 +00:00
#
# Image filetypes for CiderPress
#
PLATYPE = \#ed0000
BINTYPE = \#060000
SYSTYPE = \#ff0000
TXTTYPE = \#040000
2014-02-15 05:06:12 +00:00
all: $(ROM) $(VDRV) $(VCLK)
clean:
-rm $(ROM) $(VDRV) $(VCLK) *.o *~
2014-02-10 00:37:46 +00:00
$(ROM): rom.s
ca65 rom.s -o rom.o
ld65 -o $(ROM) -C rom.cfg rom.o
$(VDRV): pidrive.s
2014-02-10 00:37:46 +00:00
ca65 pidrive.s -o pidrive.o
ld65 -o $(VDRV) -C drvr.cfg pidrive.o
$(VCLK): piclock.s
ca65 piclock.s -o piclock.o
ld65 -o $(VCLK) -C drvr.cfg piclock.o