Includes src and usage text
This commit is contained in:
parent
98a9d2d03f
commit
b3100175a8
2 changed files with 21 additions and 2 deletions
21
Makefile
21
Makefile
|
|
@ -47,6 +47,25 @@ bin/dist/$(BUILD_NAME)/omsxctl.com: bin/dist/$(BUILD_NAME) | bin/omsxctl/omsxctl
|
|||
bin/dist/$(BUILD_NAME)/omsxctl.tcl: bin/dist/$(BUILD_NAME)
|
||||
cp src/omsxctl.tcl bin/dist/$(BUILD_NAME)/omsxctl.tcl
|
||||
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.asm: bin/dist/$(BUILD_NAME)
|
||||
cp src/omsxctl.asm bin/dist/$(BUILD_NAME)/omsxctl.asm
|
||||
|
||||
bin/dist/$(BUILD_NAME)/usage.txt:
|
||||
echo "# Usage\r" > $@
|
||||
echo "\r" >> $@
|
||||
echo "Pass the tcl script to openMSX on the command line:\r" >> $@
|
||||
echo " openmsx -script <path-to>/omsxctl.tcl\r" >> $@
|
||||
echo "\r" >> $@
|
||||
echo "And then in MSX-DOS execute something like:\r" >> $@
|
||||
echo " omsxctl set throttle off\r" >> $@
|
||||
echo " ...\r" >> $@
|
||||
echo " omsxctl exit\r" >> $@
|
||||
echo "\r" >> $@
|
||||
|
||||
BUILD_HELP += \\n\\t* bin/dist/$(BUILD_NAME).tar.gz
|
||||
bin/dist/$(BUILD_NAME).tar.gz: bin/dist/$(BUILD_NAME)/omsxctl.com bin/dist/$(BUILD_NAME)/omsxctl.tcl
|
||||
bin/dist/$(BUILD_NAME).tar.gz: \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.com \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.tcl \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.asm \
|
||||
bin/dist/$(BUILD_NAME)/usage.txt
|
||||
cd bin/dist && tar -czvf $(BUILD_NAME).tar.gz $(BUILD_NAME)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Original idea by 'immetoo' implemented with help from 'm9710797'
|
|||
|
||||
## Usage
|
||||
|
||||
Pass the script on the openMSX command line:
|
||||
Pass the tcl script to openMSX on the command line:
|
||||
|
||||
openmsx -script <path-to>/omsxctl.tcl
|
||||
And then in MSX-DOS execute something like:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue