Updated the build files to use $(xCP), allows use of mcopy to a mtools disk
[tpg/acess2.git] / Modules / Makefile.tpl
index 0ceb783..8a09edb 100644 (file)
@@ -28,7 +28,7 @@ $(BIN): $(OBJ)
        @$(LD) -T ../link.ld -shared -nostdlib -o $@ $(OBJ)
 #      @$(LD) -shared -nostdlib -o $@ $(OBJ)
        @$(OBJDUMP) -d $(BIN) > $(BIN).dsm
-       cp $@ $(DISTROOT)/Modules/$(NAME).kmd
+       $(xCP) $@ $(DISTROOT)/Modules/$(NAME).kmd
        @echo --- $(LD) -o $(KOBJ)
        @$(CC) -Wl,-r -nostdlib -o $(KOBJ) $(OBJ)
 

UCC git Repository :: git.ucc.asn.au