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.
 
 
 

27 lines
748 B

CC=gcc
CXX=g++
INCS=-I.
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
DESTDIR=@@DESTDIR@@
BINDIR=$(DESTDIR)/bin
OBJS=evlbidebug.o regular_expression.o dosyscall.o
all: vbs_fs
vbs_fs: vbs_fs.cc $(OBJS)
$(CXX) $(INCS) $(CXXOPT) -o vbs_fs vbs_fs.cc $(OBJS) -lpthread -lfuse
%.o: %.cc
$(CXX) $(INCS) -c $(CXXOPT) -o $@ $<
clean:
-rm -f $(OBJS) vbs_fs
install: vbs_fs
@echo "Installing into $(DESTDIR)"
-install vbs_fs vbs_ls vbs_rm $(BINDIR)
uninstall:
@echo "Removing installed programs from $(BINDIR)"
-rm -f $(BINDIR)/vbs_fs $(BINDIR)/vbs_ls $(BINDIR)/vbs_rm