Mercurial > hg > Members > kono > nitros9-code
view level1/atari/makefile @ 2629:65b1b5c80fec
Added bootfiles folder
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Sun, 26 Feb 2012 07:35:52 -0600 |
parents | b8c7b7fbf3c9 |
children | 442795681807 |
line wrap: on
line source
PORT = atari include $(NITROS9DIR)/rules.mak CPU = 6809 LEVEL = 1 # 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 bootroms CMDS = $(shell $(CD) cmds; make --no-print-directory showobjs_dw) SYS = $(shell $(CD) sys; make --no-print-directory showobjs) DEFS = $(shell $(CD) defs; make --no-print-directory showobjs) STARTUP = startup PACKAGENAME = $(DISTROVER).zip DSK = $(DISTROVER).dsk DSKS = $(DSK) # Make all components all: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* NitrOS-9/$(CPU) Level 1 Atari Port *" @$(ECHO) "* *" @$(ECHO) "**************************************************" $(foreach dir, $(DIRS), ($(CD) $(dir); make);) # Clean all components clean: dskclean $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) dskclean: -$(RM) $(PACKAGENAME) $(DSKS) dsk: all $(PACKAGENAME) dskcopy: dsk $(CP) $(DSKS) $(DSKDIR) scp: dsk scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog $(ARCHIVE) $@ $^ $(DSK): $(RM) $@ $(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1" XX: $(OS9GEN) $@ -b=$(BOOTFILE) $(MAKDIR) $@,CMDS $(MAKDIR) $@,SYS $(MAKDIR) $@,DEFS $(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS $(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);) $(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS $(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);) $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell $(CD) sys; $(CPL) $(SYS) ../$@,SYS $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) $(CPL) $(STARTUP_DW) $@,startup $(OS9ATTR_TEXT) $@,startup info: @echo "*** NitrOS-9/6809 Level 1 for the Atari XL/XE ***" @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)