Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > 64TASS makefile on Mac OS X
2010-12-24 22:38
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....
 
2011-09-06 23:22
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: Can’t 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.
2011-09-07 06:09
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
2011-09-07 11:10
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Paladin/G★P
iAN CooG/HVSC
Alakran_64
rambo/Therapy/ Resou..
Sokrates
kbs/Pht/Lxt
Mihai
X-Raffi/X-Rated
The Human Co../Maste..
t0m3000/hf^boom!^ibx
fieserWolF/Abyss-Con..
Guests online: 99
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.031 sec.