• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
silly GNU make question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

silly GNU make question


  • Subject: silly GNU make question
  • From: email@hidden
  • Date: Sun, 16 Apr 2006 20:31:56 -0700


Hello, all ...

I set up a CVS server on my Gentoo box, and I recently did a CVS update on my PowerBook (running 10.4.6) to build a test app i'm working on. However, this is what happens when I try to build it:

sh-2.05b$ ls -las
total 84
0 drwxr-xr-x 6 jmzorko jmzorko 204 Apr 16 20:22 .
0 drwxr-xr-x 5 jmzorko jmzorko 170 Apr 15 02:56 ..
0 drwxr-xr-x 6 jmzorko jmzorko 204 Apr 16 20:22 CVS
4 -rw-r----- 1 jmzorko jmzorko 270 Apr 15 03:08 Makefile
68 -rwxr-xr-x 1 jmzorko jmzorko 65684 Apr 15 03:09 event_test
12 -rw-r----- 1 jmzorko jmzorko 10021 Apr 16 20:22 event_test.cpp
sh-2.05b$ make
make: Nothing to be done for `all'.
sh-2.05b$


... and here is the makefile:

sh-2.05b$ cat Makefile
SRC          = event_test.cpp
EXE          = event_test
UNAME        = $(shell uname)

LIBS = -levent

ifeq ($(UNAME), Darwin)

    CPPFLAGS = -I/sw/include -L/sw/lib

endif

all: $(EXE)

$(EXE):

        c++ $(SRC) -o $(EXE) $(CPPFLAGS) $(LIBS)

clean:
        -rm -rf $(EXE)



sh-2.05b$

... 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.

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com











_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: silly GNU make question
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: Problems building universal binaries using -isysroot
  • Next by Date: Re: silly GNU make question
  • Previous by thread: Re: Perl
  • Next by thread: Re: silly GNU make question
  • Index(es):
    • Date
    • Thread