HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- makefiles and pattern wildcards
Operating System - HP-UX
1829012
Members
2442
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 03:04 PM
07-18-2002 03:04 PM
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
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
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 04:31 PM
07-18-2002 04:31 PM
Re: makefiles and pattern wildcards
which compiler?
there is a compiler that comes with HPUX by default, but it's not useful for anything other than compiling the kernel.
If you've got GCC or ansi C check the paths if the compiler isn't specifically pathed in your makefile.
there is a compiler that comes with HPUX by default, but it's not useful for anything other than compiling the kernel.
If you've got GCC or ansi C check the paths if the compiler isn't specifically pathed in your makefile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2002 06:23 PM
07-18-2002 06:23 PM
Re: makefiles and pattern wildcards
I assume you are trying to build a FORTRAN library since the '%' macro is intended to work within libraries.
The .f.o rule should already be known to make but you can do a make -p to display all the make macros and suffix rules. I do assume that you have installed a FORTRAN development system. The other thing that occurs to me (and I can tell because HTML eats white space) is that when you transferred your makefiles to your HP-UX box that you dropped some leading tabs. Make is one of the very few UNIX utilities that absolutely requires tabs in the right places.
The .f.o rule should already be known to make but you can do a make -p to display all the make macros and suffix rules. I do assume that you have installed a FORTRAN development system. The other thing that occurs to me (and I can tell because HTML eats white space) is that when you transferred your makefiles to your HP-UX box that you dropped some leading tabs. Make is one of the very few UNIX utilities that absolutely requires tabs in the right places.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP