makefiles and pattern wildcards (52 Views)
Occasional Contributor
Posts: 2
Registered: ‎07-17-2002
Message 1 of 1 (52 Views)

makefiles and pattern wildcards

I am trying to move a makefile that has worked under sunos, but now does not make on the system w/ hp-ux. The makefile is creating an executable from a bunch of object files. But I keep getting cannot make. The line that I believe it is choking on is below

$(opath)/%.o : $(cpath)/%.f
f77 -c -o $@ $<

I am not sure if HP-UX knows to deal with the "%" or not. I am trying to figure out what gives. Any help would be greatly appreciated.

Thanks Mark
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.