Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/basic09/makefile @ 1331:0a3500c747de
Fixed ANOTHER bug
author | boisy |
---|---|
date | Sun, 07 Sep 2003 00:53:51 +0000 |
parents | c847e6ee341d |
children | 53c50c807d55 |
rev | line source |
---|---|
477 | 1 include ../../../Makefile.rules |
2 | |
524 | 3 DISK = basic09v010100.dsk |
493 | 4 |
477 | 5 # NitrOS-9 |
677
0ef2294df11f
Wrapped 6309 code in basic09.asm around proper IFNE H6309/ENDC constructs
boisy
parents:
668
diff
changeset
|
6 H6309 = $(AFLAGS) -aH6309=1 -e |
477 | 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 | 9 |
10 DEPENDS = ./Makefile | |
493 | 11 |
12 TXTFILES = ReadMe install6809 install6309 | |
668 | 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 | 16 ALLOBJS = $(OBJS) $(OBJS6809) $(OBJS6309) |
477 | 17 |
18 all: $(ALLOBJS) $(DEPENDS) | |
19 | |
20 basic09_6309: basic09.asm | |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
21 $(AS) $(ASOUT)$@ $< $(H6309) |
477 | 22 |
23 basic09_6809: basic09.asm | |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
24 $(AS) $(ASOUT)$@ $< $(M6809) |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
25 |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
26 runb_6309: runb.asm |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
27 $(AS) $(ASOUT)$@ $< $(H6309) |
477 | 28 |
489
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
29 runb_6809: runb.asm |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
30 $(AS) $(ASOUT)$@ $< $(M6809) |
c9cad71c4605
runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents:
478
diff
changeset
|
31 |
668 | 32 runbt_6809: basic09.asm |
33 $(AS) $(ASOUT)$@ $< $(M6809) -aRUNTIME=1 | |
34 | |
493 | 35 clean: dskclean |
477 | 36 $(RM) $(ALLOBJS) |
37 | |
493 | 38 dsk: all |
39 $(RM) $(DISK) | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
895
diff
changeset
|
40 $(OS9FORMAT_SS35) $(DISK) -n"Basic09" |
558 | 41 $(MAKDIR) $(DISK),CMDS |
42 $(CP) $(ALLOBJS) $(DISK),CMDS | |
1126 | 43 $(foreach file, $(ALLOBJS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
895 | 44 $(CPL) $(TXTFILES) $(DISK),. |
1126 | 45 $(foreach file, $(TXTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);) |
493 | 46 |
47 dskclean: | |
48 -$(RM) $(DISK) |