make-rules/lint-libraries.mk
changeset 254 0f66d3384945
parent 181 87e11e685b1f
child 3817 30b42c38bbc4
equal deleted inserted replaced
253:425c6a23679f 254:0f66d3384945
    43 # template for lint library rules. new rules will be added automatically
    43 # template for lint library rules. new rules will be added automatically
    44 define lintlib-rule
    44 define lintlib-rule
    45 $(BUILD_DIR_32)/$(1).ln:	BITS=32
    45 $(BUILD_DIR_32)/$(1).ln:	BITS=32
    46 $(BUILD_DIR_64)/$(1).ln:	BITS=64
    46 $(BUILD_DIR_64)/$(1).ln:	BITS=64
    47 
    47 
    48 $$(BUILD_DIR)/%/$(1).ln:	$(1) $(BUILD_DIR)/%/.built
    48 $$(BUILD_DIR)/%/$(1).ln:	$(1) $(BUILD_DIR)/%/.installed
    49 	(cd $$(@D) ; $$(LINT) $$(LINT_FLAGS) -o $$(@F:llib-l%.ln=%) ../../$$<)
    49 	(cd $$(@D) ; $$(LINT) $$(LINT_FLAGS) -o $$(@F:llib-l%.ln=%) ../../$$<)
    50 
    50 
    51 $$(PROTOUSRLIBDIR)/$(1):	$(1)
    51 $$(PROTOUSRLIBDIR)/$(1):	$(1)
    52 	$(INSTALL) -c $$< [email protected]
    52 	$(INSTALL) -c $$< [email protected]
    53 
    53