cluster/cman/tests Makefile
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-08-29 02:50:15
Modified files:
cman/tests : Makefile
Log message:
Clean up cman/tests/Makefile
cman/tests/Makefile +23 -6
@@ -1,19 +1,36 @@ +############################################################################### +############################################################################### +## +## Copyright (C) 2004 Red Hat, Inc. All rights reserved. +## +## This copyrighted material is made available to anyone wishing to use, +## modify, copy, or redistribute it subject to the terms and conditions +## of the GNU General Public License v.2. +## +############################################################################### +############################################################################### + include ../../make/defines.mk +TARGETS= client libtest sysman sysmand + CFLAGS += -I${cmanincdir} CFLAGS += -I${incdir} LDFLAGS += -L${cmanlibdir} -lcman -TARGET=client libtest sysman sysmand +all: depends ${TARGETS} -all: ${TARGET} +depends: + $(MAKE) -C ../lib all -.c: - $(CC) $(CFLAGS) $(OUTPUT_OPTION) $< $(LDFLAGS) +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +%: %.o + $(CC) -o $@ $^ $(LDFLAGS) install: all clean: - rm -f *.o ${TARGET} - + rm -f *.o ${TARGETS}