Make and ace
Posted in 1993
Topics: General Discussion
Anthony writes: > Jack Parker <jparker@hpbs2561.boi.hp.com> writes: > > Netters, > > > > Once again, here I am... > > > > I'm trying to get make to recognize .ace.arc as an implicit rule. I've got: > > > > .SUFFIXES : .ace .arc > > > > and > > > > .ace.arc : > > saceprep -o ($D@) $? > > I believe the make(1) macro is incorrect. It should be: > > .ace.arc : > saceprep -o $(@D) $? Thank you your absolutely right - I made a typo putting it in. John Leffler wrote and suggested removing the directory names from the target and dependent - which worked. So: ace.arc: saceprep -o $@ $? ;\\ foo.arc : $(SRC)/foo.ace works. But, I still don't want to 'cd' to BIN_DIR when making. $ I'm still working on it & If anybody else mailed me directly - my apologies, my mail file just got wiped. cheers, j. _____________________________________________________________________________ Jack Parker - Contractor | Hewlett Packard, BSMC Boise, Idaho, USA| If you keep staring at it like that, jparker@hpbs2561.boi.hp.com | your nose is going to grow (208) 396-5388 (W) (208) 384-1623 (H) | into the bark. _____________________________________________________________________________