diff options
author | bernd <bernd@zuse.pci.uni-heidelberg.de> | 2007-03-18 12:52:14 +0100 |
---|---|---|
committer | bernd <bernd@zuse.pci.uni-heidelberg.de> | 2007-03-18 12:52:14 +0100 |
commit | 56c20f2d923cd91cb7a5c39e4b778bb4f8e36980 (patch) | |
tree | 8429616496bfb2330172db94204077734c892210 /Makefile | |
parent | 0e39e96d1b3f7c7ea588e6355a7381d73ae74a8e (diff) | |
download | unionfs-fuse-56c20f2d923cd91cb7a5c39e4b778bb4f8e36980.tar.gz |
Fix the Makefile to allow static compilation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ CFLAGS += -Wall CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -LDFLAGS += -lfuse -lm +LIB = -lfuse -lpthread -lm -lrt +LDFLAGS += HASHTABLE_OBJ = hashtable.o hashtable_itr.o hash.o elfhash.o @@ -8,7 +9,7 @@ UNIONFS_OBJ = unionfs.o stats.o opts.o debug.o findbranch.o readdir.o general.o unionfs: $(UNIONFS_OBJ) $(HASHTABLE_OBJ) - $(CC) $(LDFLAGS) -o $@ $(UNIONFS_OBJ) $(HASHTABLE_OBJ) + $(CC) $(LDFLAGS) -o $@ $(UNIONFS_OBJ) $(HASHTABLE_OBJ) $(LIB) clean: rm -f unionfs |