Cleanup and Bugfixes
[tpg/acess2.git] / Modules / Makefile.tpl
index 7d20cd3..a9a6d8d 100644 (file)
@@ -25,6 +25,7 @@ $(BIN): $(OBJ)
        @echo --- $(LD) -o $@
        @$(LD) -T ../link.ld -shared -nostdlib -o $@ $(OBJ)
 #      @$(LD) -shared -nostdlib -o $@ $(OBJ)
+       cp $@ $(DISTROOT)/Modules/$(NAME).kmd
        @echo --- $(LD) -o $(KOBJ)
        @$(CC) -Wl,-r -nostdlib -o $(KOBJ) $(OBJ)
 

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