Page MenuHomeClusterLabs Projects

Makefile
No OneTemporary

Makefile

###############################################################################
###############################################################################
##
## 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
TARGET= ccs_test
OBJS= ccs_test.o
CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DCCS_RELEASE_NAME=\"${RELEASE}\"
CFLAGS += -I${ccsincdir}
ifeq ($(DEBUG),y)
CFLAGS += -O0 -DDEBUG -g
else
CFLAGS += -O2
endif
LDFLAGS += -L${ccslibdir} -lccs
all: ${TARGET}
${TARGET}: ${OBJS}
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $^
install: all
install -d ${sbindir}
install ${TARGET} ${sbindir}
uninstall:
${UNINSTALL} ${TARGET} ${sbindir}
clean:
rm -rf *.o ${TARGET} *~

File Metadata

Mime Type
text/x-makefile
Expires
Sun, Jul 20, 7:59 PM (11 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2081391
Default Alt Text
Makefile (1 KB)

Event Timeline