The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
thousands separator ynixon Shell Programming and Scripting 11 04-13-2008 07:43 AM
record separator rochitsharma Shell Programming and Scripting 7 03-04-2006 06:37 AM
field separator as regexp Abhishek Ghose Shell Programming and Scripting 2 02-15-2006 04:49 PM
Help with unix separator Black mage2021 UNIX for Dummies Questions & Answers 2 01-02-2006 07:49 PM
How do I specify tab as field separator for sort? SSteve UNIX for Dummies Questions & Answers 8 04-26-2005 01:39 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2004
Registered User
 

Join Date: May 2004
Posts: 66
Question Separator in Makefile?

Code:
all: $(LIBRARY) $(EXE)

$(MAKEMAKE):
        @rm -f $(MAKEMAKE)
        $(PURIFY) $(CXX) -M  $(INCLUDE) $(CPPFLAGS) *.cpp > $(MAKEMAKE)

$(EXE): $(OBJS) $(LIBRARY)
        @echo "Creating a executable "
        $(PURIFY) $(CC) -o $(EXE) $(OBJS) $(ALLLDFLAGS) $(LIBS)
This is a snippet from a Makefile, when i run this i get the error of line "@rm -f $(MAKEMAKE)" needing a separator. I'm not sure what's wrong. Please help.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-01-2004
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,434
You are sure the whitespace preceding that line (@rm ...) are real tabs, without any space characters or the like?
Reply With Quote
  #3 (permalink)  
Old 07-01-2004
Registered User
 

Join Date: May 2004
Posts: 66
Quote:
Originally posted by cbkihong
You are sure the whitespace preceding that line (@rm ...) are real tabs, without any space characters or the like?
That was the problem. Thank you for your reply.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0