silly GNU make question
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