Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/StewBC/mminer-apple2
Browse files Browse the repository at this point in the history
  • Loading branch information
StewBC committed Sep 10, 2024
2 parents 27347ac + ca3332d commit 9ec31e4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Makefile-po.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This requires at least cadius v 1.3.0 (https://github.com/mach-kernel/cadius/releases;
# Tested with cadius v 1.4.5) - support for file's type and auxtype via the filename needed.
PO = $(NAME).po

CA ?= cadius

# Unix or Windows
ifeq ($(shell echo),)
CP = cp $1
MV = mv
RM = rm
else
CP = copy $(subst /,\,$1)
MV = ren
RM = del
endif

REMOVES += $(PO)

.PHONY: po
po: $(PO)

$(NAME).system:
cp $(NAME).apple2.loader $(NAME).system#FF2000

$(PO): $(NAME).apple2 $(NAME).system
$(call CP, apple2/template.po $@)
$(MV) $(NAME).apple2 $(NAME)#064000
$(CA) addfile $(NAME).po /mminer $(NAME).system#FF2000
$(CA) addfile $(NAME).po /mminer $(NAME)#064000
$(RM) $(NAME).system#FF2000
$(RM) $(NAME)#064000
Binary file added apple2/template.po
Binary file not shown.

0 comments on commit 9ec31e4

Please sign in to comment.