annotate 3rdparty/packages/basic09/makefile @ 2849:84d9d5765057 lwtools-port

Makefiles: Call OS9ATTR with multiple files (part 2/2) These were all done with a sed -i line, but have been manually verified.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 01:01:17 +0200
parents c1892376e7a7
children 84d284e812cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2054
2da2577ac7b7 Updated for new structure
boisy
parents: 1407
diff changeset
1 include $(NITROS9DIR)/rules.mak
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
2
524
b2f61e216909 renamed disk
boisy
parents: 494
diff changeset
3 DISK = basic09v010100.dsk
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
4
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
5 # NitrOS-9
2669
53c42701f680 More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2509
diff changeset
6 H6309 = $(AFLAGS) -DH6309=1
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
7 # Non-NitrOS-9
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
8 M6809 = $(AFLAGS)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
9
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
10 DEPENDS = ./makefile
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
11
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
12 TXTFILES = ReadMe install6809 install6309
668
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
13 OBJS = gfx gfx2 inkey syscall
659
0e6a4a6486a0 I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents: 558
diff changeset
14 OBJS6809 = basic09_6809 runb_6809
0e6a4a6486a0 I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents: 558
diff changeset
15 OBJS6309 = basic09_6309 runb_6309
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
16 ALLOBJS = $(OBJS) $(OBJS6809) $(OBJS6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
17
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
18 all: banner $(ALLOBJS) $(DEPENDS)
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
19
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
20 banner:
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
21 @$(ECHO) "**************************************************"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
22 @$(ECHO) "* *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
23 @$(ECHO) "* Basic09 *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
24 @$(ECHO) "* *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
25 @$(ECHO) "**************************************************"
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
26
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
27 basic09_6309: basic09.asm
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
28 $(AS) $(ASOUT)$@ $< $(H6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
29
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
30 basic09_6809: basic09.asm
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
31 $(AS) $(ASOUT)$@ $< $(M6809)
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
32
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
33 runb_6309: runb.asm
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
34 $(AS) $(ASOUT)$@ $< $(H6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
35
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
36 runb_6809: runb.asm
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
37 $(AS) $(ASOUT)$@ $< $(M6809)
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
38
668
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
39 runbt_6809: basic09.asm
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
40 $(AS) $(ASOUT)$@ $< $(M6809) -aRUNTIME=1
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
41
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
42 clean: dskclean
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
43 $(RM) $(ALLOBJS)
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
44
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
45 dsk: all
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
46 $(RM) $(DISK)
960
ea69ed12af12 Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents: 895
diff changeset
47 $(OS9FORMAT_SS35) $(DISK) -n"Basic09"
558
0ff357df35c5 Modified : to ,
boisy
parents: 524
diff changeset
48 $(MAKDIR) $(DISK),CMDS
0ff357df35c5 Modified : to ,
boisy
parents: 524
diff changeset
49 $(CP) $(ALLOBJS) $(DISK),CMDS
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
50 $(OS9ATTR_EXEC) $(foreach file,$(ALLOBJS),$(DISK),CMDS/$(file))
895
d037028b866f os9copy does end of line translation now
boisy
parents: 677
diff changeset
51 $(CPL) $(TXTFILES) $(DISK),.
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
52 $(OS9ATTR_TEXT) $(foreach file,$(TXTFILES),$(DISK),$(file))
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
53
2509
40718e6a1947 added dskcopy target
boisy
parents: 2216
diff changeset
54 dskcopy: dsk
40718e6a1947 added dskcopy target
boisy
parents: 2216
diff changeset
55 $(CP) $(DISK) $(DSKDIR)
40718e6a1947 added dskcopy target
boisy
parents: 2216
diff changeset
56
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
57 dskclean:
2835
c1892376e7a7 Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents: 2669
diff changeset
58 $(RM) $(DISK)
2216
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
59
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
60 info:
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
61 @$(ECHO) "*** Basic09 ***"
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
62 @$(ECHO) $(DISK)