Home | History | Annotate | Download | only in nanoapp
      1 #
      2 # Nanoapp Build Rules for Nanohub
      3 #
      4 
      5 ################################################################################
      6 #
      7 # Nanohub Nanoapp Build Template
      8 #
      9 # Invoke this to instantiate a set of Nanoapp post processing build targets.
     10 #
     11 # TARGET_NAME_nanoapp - The resulting nanoapp output.
     12 #
     13 # Argument List:
     14 #     $1 - TARGET_NAME         - The name of the target being built.
     15 #
     16 ################################################################################
     17 
     18 ifndef NANOHUB_NANOAPP_BUILD_TEMPLATE
     19 define NANOHUB_NANOAPP_BUILD_TEMPLATE
     20 
     21 # TODO: Invoke nanoapp post-processing tools. This simply adds the underlying
     22 # shared object and archive to the nanoapp target.
     23 
     24 .PHONY: $(1)_nanoapp
     25 all: $(1)_nanoapp
     26 
     27 $(1)_nanoapp: $(1)
     28 
     29 endef
     30 endif
     31 
     32 # Template Invocation ##########################################################
     33 
     34 $(eval $(call NANOHUB_NANOAPP_BUILD_TEMPLATE, $(TARGET_NAME)))
     35