fjfs is FUSE module that implements virtual joining of multiple files as one. https://georgi.unixsol.org/programs/fjfs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 812B

12345678910111213141516171819202122232425262728293031323334353637
  1. CFLAGS_DBG?= -ggdb
  2. CFLAGS_OPT?= -O2
  3. CFLAGS_WARN?= -Wall -W -Wextra -Wshadow -Wformat-security \
  4. -std=c99 -pedantic -Wbad-function-cast \
  5. -Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
  6. -Wnested-externs -Wpointer-arith \
  7. -Wredundant-decls -Wstrict-prototypes
  8. CFLAGS?= ${CFLAGS_DBG} ${CFLAGS_OPT}
  9. CFLAGS+= ${CFLAGS_WARN}
  10. CFLAGS+= `pkg-config --cflags fuse`
  11. LIBS+= `pkg-config --libs fuse`
  12. PREFIX ?= /usr/local
  13. INSTALL_PRG = fjfs
  14. INSTALL_PRG_DIR = $(subst //,/,$(DESTDIR)/$(PREFIX)/bin)
  15. .PHONY: distclean clean install uninstall
  16. all: fjfs
  17. fjfs: fjfs.c
  18. ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ fjfs.c ${LIBS}
  19. clean:
  20. rm -f fjfs
  21. distclean: clean
  22. install: all
  23. install -d "$(INSTALL_PRG_DIR)"
  24. install $(INSTALL_PRG) "$(INSTALL_PRG_DIR)"
  25. uninstall:
  26. rm $(INSTALL_PRG_DIR)/$(INSTALL_PRG)