Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!samsung!usc!wuarchive!kuhub.cc.ukans.edu!markv From: markv@kuhub.cc.ukans.edu Newsgroups: comp.sys.amiga.programmer Subject: Re: > SAS gripes (was DICE vs GCC) Message-ID: <1991Apr8.104038.29525@kuhub.cc.ukans.edu> Date: 8 Apr 91 15:40:38 GMT References: <9104021420.AA10848@thunder.LakeheadU.Ca> <20421@cbmvax.commodore.com> Organization: University of Kansas Academic Computing Services Lines: 69 In article <20421@cbmvax.commodore.com>, jesup@cbmvax.commodore.com (Randell Jesup) writes: > In article <1991Apr5.173845.4404@nntp-server.caltech.edu> tll@nntp-server.caltech.edu (Tal Lewis Lancaster) writes: >>cpca@marlin.jcu.edu.au (Colin Adams) writes: >>fish.o: spam.h >> >>LMK will try to compile spam.c. So you are forced to use >> >>fish.o: fish.c spam.h > > Very annoying, true. So use some other make (originally the make > was some separate lattice thing). Or put some default rules at the beginning of the makefile like: .o.h: # rules for a .h file .o.c: # rules for a .c file or use the basename macro like: foo.o: foo.h foocommand $*.h However, LMK is not perfect. Try this: .onerror: type $*.err FOO: NonExistantTarget command Then LMK will emit type $*.err and bring on the Guru, although the command line accepts it as an error. LMK will accept macros >255 chars, but they need to be broken like OBJS=a.o b.o c.o \ d.o e.o However, if OBJs exceeds 255 chars you overrun the OS command line limit. So I wish LMK would support automatic tempfiles like: Program: $(OBJS) BLINK WITH &&!$(OBJS) LIBS $(LIBS)! TO Program I also wish that lc et. al. would also take "with" files so you could feed it long command lines (which can happen if you have multiple seperate object and source dirs, etc). As for the floating point bugs (esp. in CodeProbe), most of these have been fixed in 5.1a. > -- > Randell Jesup, Keeper of AmigaDos, Commodore Engineering. > {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup > Disclaimer: Nothing I say is anything other than my personal opinion. > Thus spake the Master Ninjei: "To program a million-line operating system > is easy, to change a man's temperament is more difficult." > (From "The Zen of Programming") ;-) -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mark Gooderum Only... \ Good Cheer !!! Academic Computing Services /// \___________________________ University of Kansas /// /| __ _ Bix: mgooderum \\\ /// /__| |\/| | | _ /_\ makes it Bitnet: MARKV@UKANVAX \/\/ / | | | | |__| / \ possible... Internet: markv@kuhub.cc.ukans.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~