Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: silly GNU make question



On Sun, 2006-04-16 at 20:31 -0700, email@hidden wrote:

> $(EXE):
> 
>          c++ $(SRC) -o $(EXE) $(CPPFLAGS) $(LIBS)
> 
> ... so why no make, make?  The event_test.cpp file is clearly newer  
> than the target, yet make says "nothing to be done."  This has to be  
> some silly thing that I just don't grok, but I know not what it is.

You don't have a dependency on the source file here.
Try
$(EXE): $(SRC)

Peter

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >silly GNU make question (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.