You need tomust not put ifeq in the beginning of a line:after TAB.  Spaces are allowed.  Read GNU Make document.
test_target: 
ifeq ($(TEST),"TRUE")
    echo "Do something"
endif
 Also note that it compares $(TEST) with "TRUE" as is:
$ make TEST=TRUE
make: Nothing to be done for 'test_target'.
$ make TEST='"TRUE"'
echo "Do something"
Do something