The vbs tools - vbs_ls, vbs_rm, vbs_fs - for listing, removing and mounting vbs and Mark6 format scattered VLBI recordings on FlexBuff and Mark6 systems
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.

28 lines
748 B

  1. CC=gcc
  2. CXX=g++
  3. INCS=-I.
  4. CXXOPT=-g -fPIC $(OPT) -m64 -Wall -W -Werror -Wextra -pedantic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D__STDC_FORMAT_MACROS -Wcast-qual -Wwrite-strings -Wredundant-decls -Wfloat-equal -Wshadow -D_FILE_OFFSET_BITS=64
  6. BINDIR=$(DESTDIR)/bin
  7. OBJS=evlbidebug.o regular_expression.o dosyscall.o
  8. all: vbs_fs
  9. vbs_fs: $(OBJS)
  10. $(CXX) $(INCS) $(CXXOPT) -o vbs_fs $(OBJS) -lpthread -lfuse
  11. %.o:
  12. $(CXX) $(INCS) -c $(CXXOPT) -o $@ $<
  13. clean:
  14. -rm -f $(OBJS) vbs_fs
  15. install: vbs_fs
  16. @echo "Installing into $(DESTDIR)"
  17. -install vbs_fs vbs_ls vbs_rm $(BINDIR)
  18. uninstall:
  19. @echo "Removing installed programs from $(BINDIR)"
  20. -rm -f $(BINDIR)/vbs_fs $(BINDIR)/vbs_ls $(BINDIR)/vbs_rm