projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include libs3.h header file in our source.
[bluesky.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8a1ea81
..
8d986f4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,3
+1,4
@@
+LIBS3_PATH=$(HOME)/scratch/libs3-1.4/build
PACKAGES=glib-2.0 gthread-2.0
DEBUG=-g
CFLAGS=-O -std=gnu99 -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
PACKAGES=glib-2.0 gthread-2.0
DEBUG=-g
CFLAGS=-O -std=gnu99 -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
@@
-5,7
+6,7
@@
CFLAGS=-O -std=gnu99 -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
SUBDIRS=nfs3
LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
SUBDIRS=nfs3
-SRCS=dir.c inode.c
+SRCS=dir.c inode.c
store.c
OBJS=$(SRCS:.c=.o)
all : bluesky
OBJS=$(SRCS:.c=.o)
all : bluesky
@@
-16,7
+17,7
@@
bluesky.a : $(OBJS)
ranlib $@
bluesky : main.o bluesky.a
ranlib $@
bluesky : main.o bluesky.a
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^
-Wl,-rpath=$(LIBS3_PATH)/lib -L$(LIBS3_PATH)/lib -ls3
clean :
rm -f $(OBJS) bluesky
clean :
rm -f $(OBJS) bluesky