From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/group/test Makefile
Date: 29 Aug 2007 02:52:45 -0000 [thread overview]
Message-ID: <20070829025245.9688.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-08-29 02:52:45
Modified files:
group/test : Makefile
Log message:
Cleanup group/test/Makefile
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/test/Makefile.diff?cvsroot=cluster&r1=1.2&r2=1.3
--- cluster/group/test/Makefile 2007/05/03 16:55:58 1.2
+++ cluster/group/test/Makefile 2007/08/29 02:52:45 1.3
@@ -10,22 +10,18 @@
###############################################################################
###############################################################################
-CFLAGS+= -g -I.
+include ../../make/defines.mk
-all: client clientd
+TARGETS= client clientd
-client: client.o
- $(CC) $(LDFLAGS) -o $@ $<
+all: $(TARGETS)
-clientd: clientd.o
- $(CC) $(LDFLAGS) -o $@ $<
-
-client.o: client.c
+%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
-clientd.o: clientd.c
- $(CC) $(CFLAGS) -c -o $@ $<
+%: %.o
+ $(CC) -o $@ $^ $(LDFLAGS)
clean:
- rm -f *.o client clientd
+ rm -f *.o $(TARGETS)
reply other threads:[~2007-08-29 2:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070829025245.9688.qmail@sourceware.org \
--to=fabbione@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.