Mercurial > hg > Members > kono > nitros9-code
view level1/d64/defs/makefile @ 2889:0edac6dc70ed
arcadepak/makefile: Fixup the OS9COPY factorization
These do the job:
sed -i 's#\$(foreach file, \$(\(.*\)), \$(OS9COPY) \(.*\$(file)\) \(.*\)/\$(file);)$#$(OS9COPY) $(foreach file,$(\1),\2) \3#' 3rdparty/packages/arcadepak/makefile
sed -i 's#\$(foreach file, \$(\(.*\)), \$(OS9COPY) \(.*\$(file)\) \(.*\)\$(file);)$#$(OS9COPY) $(foreach file,$(\1),\2) \3#' 3rdparty/packages/arcadepak/makefile
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 17:43:47 +0100 |
parents | e4a0f58a5f9b |
children | 1addfd8c9d5f |
line wrap: on
line source
PORT = d64 ifndef NITROS9DIR NITROS9DIR = $(HOME)/nitros9 endif include $(NITROS9DIR)/rules.mak DEPENDS = ./makefile DEFOPTS = -ls -x -z -aLevel=1 DEFSDIR = ../../../defs DEFS = defsfile os9.d rbf.d scf.d dragon.d dragonvtio.d ALLOBJS = $(DEFS) all: $(ALLOBJS) defsfile: defsfile.asm $(AS) $(DEFOPTS) -p $< > $@ os9.d: $(DEFSDIR)/os9.d $(AS) $(DEFOPTS) -aOS9.D=0 $< > $@ rbf.d: $(DEFSDIR)/rbf.d $(AS) $(DEFOPTS) -aRBF.D=0 $< > $@ scf.d: $(DEFSDIR)/scf.d $(AS) $(DEFOPTS) -aSCF.D=0 $< > $@ dragon.d: $(DEFSDIR)/dragon.d $(AS) $(DEFOPTS) -aDRAGON.D=0 $< > $@ dragonvtio.d: $(DEFSDIR)/cocovtio.d $(AS) $(DEFOPTS) -aDRAGONVTIO.D=0 $< > $@ clean: $(RM) $(DEFS) showobjs: @$(ECHO) $(ALLOBJS)