Includes src and usage text

This commit is contained in:
Willem Cazander 2020-05-01 04:07:52 +02:00
parent 98a9d2d03f
commit b3100175a8
2 changed files with 21 additions and 2 deletions

View file

@ -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)

View file

@ -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: