Mercurial > hg > Members > kono > nitros9-code
view level1/makefile @ 1119:f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
author | boisy |
---|---|
date | Sat, 12 Apr 2003 17:19:55 +0000 |
parents | 2bb48f58cba5 |
children | 99b993d4c94e |
line wrap: on
line source
include ../Makefile.rules RELEASE = os9l1v030101 BOOTFILE = bootfile_stock KERNEL = kernel_stock CMDS = $(shell $(CD) CMDS; make showcocoobjs) MODULES = $(shell $(CD) MODULES; make showcopyobjs) SYS = $(shell $(CD) SYS; make showobjs) DEFS = $(shell $(CD) DEFS; make showobjs) ROOTFILES = startup PACKAGENAME = $(RELEASE).zip DSK1 = $(RELEASE)_ds40_1.dsk DSK2 = $(RELEASE)_ds40_2.dsk # Make all components all: @$(ECHO) "*********************************************" @$(ECHO) "* *" @$(ECHO) "* OS-9 Level One Distribution *" @$(ECHO) "* *" @$(ECHO) "*********************************************" $(CD) CMDS; make $(CD) MODULES; make $(CD) DEFS; make $(CD) SYS; make $(CD) BOOTFILES; make $(CHMOD) 644 $(ROOTFILES) # Clean all components clean: dskclean -$(CD) CMDS; make clean -$(CD) MODULES; make clean -$(CD) DEFS; make clean -$(CD) SYS; make clean -$(CD) BOOTFILES; make clean dskclean: -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2) dsk: all $(PACKAGENAME) dskcopy: dsk $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR) $(PACKAGENAME): $(DSK1) $(DSK2) $(ZIP) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog $(DSK1): $(RM) $(DSK1) $(OS9FORMAT_DS40) $(DSK1) -n"OS-9 Level One System Disk" $(OS9GEN) $(DSK1) -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL) $(MAKDIR) $(DSK1),CMDS $(MAKDIR) $(DSK1),SYS $(CD) CMDS; $(CP) $(CMDS) ../$(DSK1),CMDS $(CD) SYS; $(CPL) $(SYS) ../$(DSK1),SYS $(MAKDIR) $(DSK1),DEFS $(CD) DEFS; $(CPL) $(DEFS) ../$(DSK1),DEFS $(CPL) $(ROOTFILES) $(DSK1),. $(DSK2): $(RM) $(DSK2) $(OS9FORMAT_DS40) $(DSK2) -n"OS-9 Level One Modules Disk" $(MAKDIR) $(DSK2),MODULES $(CD) MODULES; $(CP) $(MODULES) ../$(DSK2),MODULES