atari email archive

a collection of messages sent at Atari from 1983 to 1992.

MAKE and LLF

(1 / 1)


Now that you may need to use an option file with LLF, it has been
mentioned that it can be a bit more of a pain to use a single
dependency list in your MAKEFILE. The following is an excerpt from LLF's
makefile. The commas in the VMS lists are required for VMS's LINK
utility and the spaces surrounding the commas are required so MAKE
doesn't screw up. LLF does not require commas between filenames so
they are not included in the Atari ST build lists. LLF now allows for
multiple option files, so you may leave your LOCATE commands and stuff
in your current option file and create another one in the method
section of your makefile. So, good luck figuring out what this does: 

! ALLx are the dependency lists for a VMS version build
!	(commas are required by LINK and spaces are optional, but...
!	spaces are required by MAKE and commas are illegal, however,
!	it works if there are spaces surrounding the comma)
ALL1 = timer.obj , symdef.obj , symbol.obj , reloc.obj , qksort.obj
ALL2 = pass2.obj , pass1.obj , outx.obj , object.obj , memmgt.obj
ALL3 = mapsym.obj , llf.obj , lc.obj , insert_id.obj
ALL4 = hashit.obj , grpmgr.obj , gc.obj , fnf.obj , dsubscale.obj
!
! ALLSTx are the dependency lists for an ATARI ST version build
ALLST1 = timer.ol symdef.ol symbol.ol reloc.ol qksort.ol pass2.ol pass1.ol
ALLST2 = outx.ol object.ol memmgt.ol mapsym.ol llf.ol lc.ol insert_id.ol
ALLST3 = hashit.ol grpmgr.ol gc.ol fnf.ol

llf.ln : #(ALLST1) #(ALLST2) #(ALLST3) makefile.
	$ bla_bla ...
	$ create llf.tmp	!make a temp option file
	FILE (	srtlib:tosstart
		sys$disk:[]#(ALLST1)
		#(ALLST2)
		#(ALLST3)
	)
	LIBR (	srtlib:srtlib )
	$ LLF/OUT=LLF/MAP/err/rel llf.tmp/opt
	$ delete llf.tmp;*
llf.exe : #(ALL1) #(ALL2) #(ALL3) #(ALL4) makefile.
	$ bla_bla ...
	$ LINK/map/exe=LLF #(ALL1),#(ALL2),#(ALL3),#(ALL4)
Message 1 of 1

Jun 19, 1987