Mercurial > hg > Members > kono > nitros9-code
annotate level1/makefile @ 990:3c51c59f97c4
Small cosmetic changes
author | boisy |
---|---|
date | Fri, 21 Feb 2003 13:18:13 +0000 |
parents | ea69ed12af12 |
children | 33efa4eee488 |
rev | line source |
---|---|
0 | 1 include ../Makefile.rules |
2 | |
558 | 3 RELEASE = os9l1v020100cc |
521 | 4 BOOTFILE = bootfile_stock |
5 KERNEL = kernel_stock | |
454 | 6 |
561 | 7 CMDS = $(shell $(CD) CMDS; make showcocoobjs) |
454 | 8 MODULES = $(shell $(CD) MODULES; make showcopyobjs) |
9 SYS = $(shell $(CD) SYS; make showobjs) | |
10 DEFS = $(shell $(CD) DEFS; make showobjs) | |
11 ROOTFILES = startup | |
12 | |
13 PACKAGENAME = $(RELEASE).zip | |
710 | 14 DSK_DS40 = $(RELEASE)_ds40.dsk |
323 | 15 |
0 | 16 # Make all components |
17 all: | |
18 @$(ECHO) "*********************************************" | |
19 @$(ECHO) "* *" | |
20 @$(ECHO) "* OS-9 Level One Distribution *" | |
21 @$(ECHO) "* *" | |
22 @$(ECHO) "*********************************************" | |
323 | 23 $(CD) CMDS; make |
24 $(CD) MODULES; make | |
25 $(CD) DEFS; make | |
26 $(CD) SYS; make | |
454 | 27 $(CD) BOOTFILES; make |
28 $(CHMOD) 644 $(ROOTFILES) | |
0 | 29 |
30 # Clean all components | |
454 | 31 clean: dskclean |
323 | 32 -$(CD) CMDS; make clean |
33 -$(CD) MODULES; make clean | |
34 -$(CD) DEFS; make clean | |
35 -$(CD) SYS; make clean | |
454 | 36 -$(CD) BOOTFILES; make clean |
37 | |
38 dskclean: | |
891 | 39 -$(RM) $(PACKAGENAME) $(DSK_DS40) |
454 | 40 |
41 dsk: all $(PACKAGENAME) | |
42 | |
891 | 43 $(PACKAGENAME): $(DSK_DS40) |
44 $(ZIP) $(PACKAGENAME) $(DSK_DS40) ReadMe ChangeLog | |
710 | 45 |
46 $(DSK_DS40): | |
47 $(RM) $(DSK_DS40) | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
891
diff
changeset
|
48 $(OS9FORMAT_DS40) $(DSK_DS40) -n"OS-9 Level One System Disk" |
710 | 49 $(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL) |
50 $(MAKDIR) $(DSK_DS40),CMDS | |
51 $(MAKDIR) $(DSK_DS40),SYS | |
52 $(MAKDIR) $(DSK_DS40),MODULES | |
53 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40),CMDS | |
891 | 54 $(CD) SYS; $(CPL) $(SYS) ../$(DSK_DS40),SYS |
710 | 55 $(MAKDIR) $(DSK_DS40),DEFS |
56 $(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40),MODULES | |
891 | 57 $(CD) DEFS; $(CPL) $(DEFS) ../$(DSK_DS40),DEFS |
58 $(CPL) $(ROOTFILES) $(DSK_DS40),. | |
710 | 59 |