Mercurial > hg > Members > kono > nitros9-code
view level1/atari/makefile @ 3251:4393a2b5b9a0
Revert introduction of underscore in DISTRO folders on disks.
These were inadvertently changed when we improved the disk image
file names.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 07 Apr 2018 19:28:53 +0200 |
parents | e85fdf0e52ae |
children |
line wrap: on
line source
include port.mak # Level 1 - Specify which shell should be used #WHICHSHELL = shellplus WHICHSHELL = shell_21 DISTRO = $(CPU)L$(LEVEL) DISTRONAME = NOS9_$(CPU)_L$(LEVEL) DISTROVER = $(DISTRONAME)_$(NITROS9VER)_$(PORT) BOOTFILE = bootfiles/bootfile DIRS = cmds modules defs sys bootfiles wwwroot CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs_dw) CMDS_DEMO = $(shell $(CD) cmds; make --no-print-directory showobjs_demo) SYS = $(shell $(CD) sys; make --no-print-directory showobjs) WWWROOT = $(shell $(CD) wwwroot; make --no-print-directory showobjs) DEFS = $(shell $(CD) defs; make --no-print-directory showobjs) STARTUP = startup DSK = $(DISTROVER).dsk DSK_DEMO = ataridemo.dsk DSKS = $(DSK) $(DSK_DEMO) # Make all components all: @$(ECHO) "************************************************************" @$(ECHO) "*" @$(ECHO) "* NitrOS-9/$(CPU) Level $(LEVEL) $(MACHINE) ($(PORT))" @$(ECHO) "*" @$(ECHO) "************************************************************" $(foreach dir,$(DIRS),$(MAKE) -C $(dir) &&) : # Clean all components clean: dskclean $(foreach dir,$(DIRS),$(MAKE) -C $(dir) clean &&) : dskclean: $(RM) $(DSKS) dsk: all $(DSKS) dskcopy: $(DSKS) $(CP) $(DSKS) $(DSKDIR) $(DSK): $(RM) $@ $(OS9FORMAT_DW) -q $@ -n"NitrOS-9/$(CPU) Level 1" $(OS9GEN) $@ -b=$(BOOTFILE) $(MAKDIR) $@,CMDS $(MAKDIR) $@,SYS $(MAKDIR) $@,DEFS $(MAKDIR) $@,WWWROOT $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell $(CD) sys; $(CPL) $(SYS) ../$@,SYS $(OS9ATTR_TEXT) $(foreach file,$(SYS),$@,SYS/$(file)) $(CD) wwwroot; $(OS9COPY) $(WWWROOT) ../$@,WWWROOT $(OS9ATTR_TEXT) $(foreach file,$(WWWROOT),$@,WWWROOT/$(file)) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) $(CPL) $(STARTUP) $@,startup $(OS9ATTR_TEXT) $@,startup $(DSK_DEMO): $(RM) $@ $(OS9FORMAT_DW) -q $@ -n"NitrOS-9 Atari Demo Disk" $(MAKDIR) $@,CMDS $(CD) cmds; $(OS9COPY) $(CMDS_DEMO) ../$@,CMDS $(OS9ATTR_EXEC) $(foreach file,$(CMDS_DEMO),$@,CMDS/$(file)) info: @$(ECHO) "*** NitrOS-9/6809 Level 1 for the Atari XL/XE ***" @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)