Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Using make subst

$
0
0
I have a string of source files

Code:

ENBL_PX11_LIBSRC = pltsub.f xpltlib.f xbuplot.c
I want to replace .f and .c with .o

to get

Code:

ENBL_PX11_LIBOBJ = pltsub.o xpltlib.o xbuplot.o
However I am having trouble doing this with subst.

Viewing all articles
Browse latest Browse all 16232

Trending Articles