question for multiple targets

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

question for multiple targets

CObject
I want to use multiple targets, but when I run the following code, there is an error:


##################################
Littleoutput bigoutput:text.g


      @echo $(subst output, $@) > $@
####################################


The result is that only the littleoutput file is generated, and my expected result is that the littleoutput and bigoutput files are generated. Confused, can you give me some directions?
_______________________________________________
Help-make mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-make