| |
Kaizen
Registered: May 2009 Posts: 24 |
64TASS makefile on Mac OS X
Hello,
currently I use for my crossdev works 64TASS and Exomizer 2 on a Mac OS X machine.
I'm trying to create a makefile in order to perform certain operations in sequence, but unfortunately I haven't familiarity with this kind of stuff so I cannot create a working one.
The operations are, for example:
64tass infile.s -o outfile.prg
exomizer sfx 2064 outfile.prg -n -o outfilexo.prg
I would like to run the makefile from Terminal to perform that.
Any suggestion?
THX. ;-) |
|
... 10 posts hidden. Click here to view all posts.... |
| |
Kaizen
Registered: May 2009 Posts: 24 |
I tried this ...
the makefile is located in the main dir and contains the commands:
# ------------------
[TAB]mkdir -p work
# ------------------
[TAB]64tass code/"TEST.s" -o work/"TEST.PRG
# ------------------
The program TEST.s contains the directive:
[TAB].BINARY "001 B.PRG", $0002, $1000
If the file "001 B.PRG" is contained inside the main dir, all is working perfectly.
But instead if I put it in the subdir src and modify the source code TEST.s like this...
[TAB].BINARY src/"001 B.PRG", $0002, $0100
... I get: Cant locate file "001 B.PRG"
I tried also other similar paths, but with no success... maybe 64tass doesn't allow path commands?
I didn't find any info in the manual about that. |
| |
Mr. SID
Registered: Jan 2003 Posts: 424 |
Put the path inside the quotation marks:
64tass "src/TEST.s" -o "work/TEST.PRG"
and try both of these variants, one of them might work:
.BINARY "src/001 B.PRG", $0002, $0100
.BINARY "../src/001 B.PRG", $0002, $0100
|
| |
Kaizen
Registered: May 2009 Posts: 24 |
Thanks Mr. SID,
using
.BINARY "src/001 B.PRG", $0002, $0100
into the 64tass sourcefile and keeping
64tass code/"TEST.s" -o work/"TEST.PRG
into the makefile it just work well. ;-) |
Previous - 1 | 2 - Next |