Avatar of naseeam
naseeamFlag for United States of America 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
C

Avatar of undefined
Last Comment
naseeam

8/22/2022 - Mon
ASKER
naseeam

The syntax error is on the following line:

SILENT = @
ASKER CERTIFIED SOLUTION
NovaDenizen

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
naseeam

Thanks for multiple solutions and great link to clearmake description.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck