⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ceph
All Projects
Ceph
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Calendar
Wiki
Repository
Download (389 Bytes)
Bug #2524
» Makefile
Xiaopong Tran
, 06/08/2012 03:15 AM
##
## Copyright (C) 2011, xp@renzhi.ca
## All rights reserved.
##
CC
=
g++
LIBDIR
=
-L
.
LIBS
=
-lrados
SRC
=
main.cpp
OBJS
=
$(
SRC:.cpp
=
.o
)
# include directories
INCLUDES
=
-I
.
EXE
=
test_rados
all
:
$(EXE)
test_rados
:
$(OBJS)
@
echo
Linking
$<
@$(
CC
)
$^
$(
LIBDIR
)
$(
LIBS
)
-o
$@
.cpp.o
:
@
echo
Compiling
$<
@$(
CC
)
$(
INCLUDES
)
$(
CFLAGS
)
-c
$<
-o
$@
clean
:
rm
-f
$(
OBJS
)
$(
EXE
)
Makefile.bak
« Previous
1
2
3
4
Next »
(4-4/4)
Loading...