1 year ago

#377517

test-img

HightronicDesign

Makefile executes if and else

The question is short actually.

This:

$(info Param: $(1))
ifneq (,$(findstring String,$(1)))
    $(info FOUND)
else
    $(info NOT FOUND)
endif

Produces this:

Param: ThisIsMyString
FOUND
NOT FOUND

Why, where is the problem which I am not getting?

gnu-make

0 Answers

Your Answer

Accepted video resources