How to manually call another target from a make target?

后端 未结 3 1484
失恋的感觉
失恋的感觉 2020-12-13 01:48

I would like to have a makefile like this:

cudaLib :
    # Create shared library with nvcc

ocelotLib :
    # Create shared library for gpuocelot

build-cuda         


        
3条回答
  •  时光说笑
    2020-12-13 02:29

    Most versions of make set a variable $(MAKE) that you can use for recursive invocations.

提交回复
热议问题