Skip to content

Commit

Permalink
Makefile: add setup-vice target
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Mar 17, 2024
1 parent 5cfafa4 commit ba98663
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ INCLUDES:=$(wildcard include/*.h) include/version.h include/charset_umlauts.h
GV:=$(shell git describe --tags --always)
CFLAGS= -I include -t c128 -g

.PHONY: clean dist-clean format vice xpra
.PHONY: clean dist-clean format vice setup-vice xpra

all: kasse cat

Expand Down Expand Up @@ -68,6 +68,9 @@ dist-clean: clean
format:
clang-format-3.9 -i **/*.[ch]

setup-vice:
./.devcontainer/vice-setup.sh

vice: package
x128 -config vicerc -autostart kasse.d71 +go64 -remotemonitor -80col -speed 200

Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ Then, install the ROMs, which are not included in the Debian package (they are
however included in the `vice` package on Arch Linux, for example):

```
VICEVERSION=$(x128 --version | sed -e 's,x128 (VICE ,,g;s,),,g')
wget https://downloads.sourceforge.net/project/vice-emu/releases/vice-${VICEVERSION?}.tar.gz
mkdir -p ~/.local/share/vice
tar xf vice-${VICEVERSION?}.tar.gz -C ~/.local/share/vice/ vice-${VICEVERSION?}/data --strip-components=2
make setup-vice
```

### Compiling the software into an image
Expand Down

0 comments on commit ba98663

Please sign in to comment.