* [Cluster-devel] cluster/group/test Makefile
@ 2007-08-29 2:52 fabbione
0 siblings, 0 replies; only message in thread
From: fabbione @ 2007-08-29 2:52 UTC (permalink / raw)
To: cluster-devel.redhat.com
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-29 2:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 2:52 [Cluster-devel] cluster/group/test Makefile fabbione
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.