naseeam
asked on
How to convert gnu make conditional statements to clearmake?
Below is part of makefile that was read by clearmake program. There is syntax error.
How to convert this part of gnumake to clearmake?
########################## ########## ########## ########## ########## ########## #
## Set macro to suppress or allow echoing key commands.
########################## ########## ########## ########## ########## ########## #
# the macro ECHO can be set to nonblank on the command line to allow key
# build commands to be echoed on the screen.
# The macro SILENT is defined as the echo suppression character "@" when
# ECHO has not been set. The macro $(SILENT) is used at the beginning
# of every command line that we want to allow to be conditionally echoed.
ifndef ECHO
SILENT=@
else
SILENT=
endif
How to convert this part of gnumake to clearmake?
##########################
## Set macro to suppress or allow echoing key commands.
##########################
# the macro ECHO can be set to nonblank on the command line to allow key
# build commands to be echoed on the screen.
# The macro SILENT is defined as the echo suppression character "@" when
# ECHO has not been set. The macro $(SILENT) is used at the beginning
# of every command line that we want to allow to be conditionally echoed.
ifndef ECHO
SILENT=@
else
SILENT=
endif
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for multiple solutions and great link to clearmake description.
ASKER
SILENT = @