I tried to type just bmk to get the "usage" text, but it displays nothing...
Yes, the "official" bmk isn't very friendly at all.
This is what mine says :
C:\Program Files\BlitzMax\bin>bmk
Command line error : Not enough parameters
Usage: bmk <operation> [options] source
Operations :
makeapp
Builds an application from a single root source file.
makemods
Builds a set of modules.
Options :
-a
Recompile all source/modules regardless of timestamp. By default, only those modified
since the last build are recompiled.
-b <custom appstub module>
Builds an app using a custom appstub (i.e. not BRL.Appstub).
This can be useful when you want more control over low-level application state.
-d
Builds a debug version. (This is the default for makeapp).
-h
Build multithreaded version. (By default, the single threaded version is built.)
-i
Creates a Universal build on Mac x86 systems.
(see documentation for full list of requirements)
-l <target platfom>
Cross-compiles to the specific target platform.
Currently, only win32 is supported as a target platform on Mac and Linux systems.
(see documentation for full list of requirements)
-o <output file>
Specify output file. (makeapp only)
By default, the output file is placed into the same directory as the root source file.
-q
Quiet build.
-r
Builds a release version.
-t <app type>
Specify application type. (makeapp only)
Should be either 'console' or 'gui' (without single quote!).
The default is console.
-v
Verbose (noisy) build.
-x
Execute built application. (makeapp only)
Of course, you should ignore -i and -l options for yours... otherwise I think everything else applies.
If you can't see what you want in all those options, try :
-t gui
|