comparison 3rdparty/packages/fsim2/makefile @ 2216:d096a278e068

Added info targets
author boisy
date Tue, 17 Mar 2009 02:52:57 +0000
parents e64d2a5b8c87
children 918c7c68ea4d
comparison
equal deleted inserted replaced
2215:ce47dc2318bb 2216:d096a278e068
4 4
5 DSK_FLOPPY = fsim2.dsk 5 DSK_FLOPPY = fsim2.dsk
6 DSK_DW3 = fsim2_dw3.dsk 6 DSK_DW3 = fsim2_dw3.dsk
7 CMDS = fs f2 f3 f4 7 CMDS = fs f2 f3 f4
8 MD = $(LEVEL2)/coco3/modules 8 MD = $(LEVEL2)/coco3/modules
9
10 DSKS = $(DSK_FLOPPY) $(DSK_DW3)
9 11
10 # We make our own bootfile and kernel track 12 # We make our own bootfile and kernel track
11 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 13 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
12 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 14 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn
13 15
38 all: $(ALLOBJS) 40 all: $(ALLOBJS)
39 41
40 clean: dskclean 42 clean: dskclean
41 $(RM) $(ALLOBJS) 43 $(RM) $(ALLOBJS)
42 44
43 dsk: $(DSK_FLOPPY) $(DSK_DW3) 45 dsk: $(DSKS)
44 46
45 $(DSK_DW3): 47 $(DSK_DW3):
46 $(RM) $@ 48 $(RM) $@
47 $(CD) $(LEVEL2)/coco3; make 49 $(CD) $(LEVEL2)/coco3; make
48 $(OS9FORMAT_SS35) $@ -n"Flight Simulator 2" 50 $(OS9FORMAT_SS35) $@ -n"Flight Simulator 2"
75 $(OS9RENAME) $@,CMDS/fs AutoEx 77 $(OS9RENAME) $@,CMDS/fs AutoEx
76 $(CP) $(SUPPORTFILES) $@,. 78 $(CP) $(SUPPORTFILES) $@,.
77 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) 79 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
78 80
79 dskcopy: dsk 81 dskcopy: dsk
80 $(CP) $(DSK_FLOPPY) $(DSK_DW3) $(DSKDIR) 82 $(CP) $(DSKS) $(DSKDIR)
81 83
82 dskclean: 84 dskclean:
83 $(RM) $(DSK_DW3) $(DSK_FLOPPY) 85 $(RM) $(DSKS)
86
87 info:
88 @$(ECHO) "*** Flight Simulator 2 ***"
89 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)