Specifications
15-4 Programmer’s Guide Sega
Psy-Q Development System
Examples main.cpe: main.68K inc1.h inc2.h
ASM68K main,main
This tells PSYMAKE that main.cpe depends on the files main.68K, inc1.h and
inc2.h. If any of these files are dated later than main.cpe, or main.cpe does not exist,
the command "ASM68K main,main" will be executed in order to create or update
main.cpe.
main.cpe: main.68K inc1.h inc2.h
ASM68K /l main,main,main
psylink main,main
Here, two commands are required in order to rebuild main.cpe.
Implicit Rules
If no commands are specified, PSYMAKE will search for an implicit rule to
determine how to build the target file. An implicit rule is a general rule stating how to
derive files of one type from another type; for instance, how to convert .ASM files
into .EXE files.
Implicit rules take the form:
.<
source
extension
>.<
target extension
>:
command
[...
command
]
Each <extension> is a 1, 2 or 3 character sequence specifying the DOS file extension
for a particular class of files.
At least one command must be specified.
Examples .s.bin:
asm68K /p $*,$*
This states that to create a file of type .bin from a file of type .S, the ASM68K
command should be executed. (See below for an explanation of the $* substitutions.)