Starting
This commit is contained in:
1 parent
88a71197d9
commit
c4b67adacf
7 files changed
+898
No files matched your search
@@ -0,0 +1,23 @@
|
||||
GCC = gcc
|
||||
SOURCES = lsfs_fuse.c
|
||||
OBJS := $(patsubst %.c,%.o,$(SOURCES))
|
||||
CFLAGS = -O0 -g -Wall -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25
|
||||
|
||||
.always_rebuilt:
|
||||
|
||||
##
|
||||
# Libs
|
||||
##
|
||||
LIBS := fuse
|
||||
LIBS := $(addprefix -l,$(LIBS))
|
||||
|
||||
all: tfs
|
||||
|
||||
%.o: %.c .always_rebuilt
|
||||
$(GCC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
tfs: $(OBJS) .always_rebuilt
|
||||
$(GCC) $(OBJS) $(LIBS) $(CFLAGS) -o lsfs_fuse
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) lsfs_fuse
|
||||
Reference in new issue
Block a user