view bootman/makefile @ 2850:95923f065070 lwtools-port

arcadepak/makefile: Call "os9 copy" with multiple files Instead of calling "os9 copy" for every single file, copy all files with one call. Speeds up disk image build time.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 22:26:05 +0200
parents c1892376e7a7
children 28ed72477814
line wrap: on
line source

include ../rules.mak

all: bootman_coco_6551 bootman_coco3_6551 #bootman_loader

bootman_loader: bootman_loader.a
	mamou $^ -o$@ -mb

bootman_coco_6551: bootman.r boot_config.r mach_coco.r llio_6551.r llbt_1773.r
	$(LINKER) $^ -o=$@

bootman_coco3_6551: bootman.r boot_config.r mach_coco3.r llio_6551.r llbt_1773.r
	$(LINKER) $^ -o=$@

dsk: bootman
	decb dskini bootman.dsk
	decb copy -b -2 bootman_coco_6551 bootman.dsk,BM6551.BIN
	decb copy -b -2 bootman_coco3_6551 bootman.dsk,BM36551.BIN

clean:
	$(RM) *.r bootman_coco_6551 bootman_coco3_6551 bootman.dsk