forked from minivmac/minivmac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_linux.sh
More file actions
executable file
·34 lines (30 loc) · 781 Bytes
/
Copy pathbuild_linux.sh
File metadata and controls
executable file
·34 lines (30 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
#
# Example of how to build the SDL2 version of Mini vMac on Linux
#
# we need to build the setup tool first
if [ ! -x ./setup_t ]; then
gcc -o setup_t setup/tool.c
fi
# run setup tool to generate makefile generator
./setup_t -maintainer "egon.rath@gmail.com" \
-homepage "https://github.com/egrath" \
-n "minivmac-3.7-test" \
-e bgc \
-t lx64 \
-m IIx \
-hres 640 -vres 480 -depth 3 \
-magnify 1 \
-mf 2 \
-sound 1 \
-sony-sum 1 -sony-tag 1 \
-speed 4 -ta 2 -em-cpu 2 -mem 32M \
-chr 0 -drc 1 -sss 4 \
-fullscreen 0 \
-var-fullscreen 1 \
-api sd3 \
> setup.sh
# generate makefile and build
bash -x ./setup.sh
make clean
make -j $(nproc)