DIGFILED = $(PREFIX)/src/DIGFile
DIGFILESD = $(PREFIX)/src/DIGFileSnark
DIGFILERD = $(PREFIX)/src/DIGRand
+SNARK14D = $(PREFIX)/src/snark14
OBJDIR = build
BINDIR = bin
LDIGFILED = $(LIBSDIR)/libDIGFile.so
LDIGFILESD = $(LIBSDIR)/libDIGFileSnark.so
LDIGFILERD = $(LIBSDIR)/libDIGRand.so
+LSNARK14 = $(LIBSDIR)/libsnark14.a
SRC_CXX = $(foreach dir,src/snark,$(wildcard src/snark/*.cpp))
SRC_C = $(foreach dir,src/snark,$(wildcard src/snark/*.c))
all: $(OBJDIR) $(LIBSDIR) $(BINDIR) $(BINDIR)/$(SNARK14) $(BINDIR)/$(DISPLAY) $(BINDIR)/$(INPUT)
-$(BINDIR)/$(SNARK14): $(LDIGFILED) $(LDIGFILESD) $(LDIGFILERD) $(OBJ_C) $(OBJ_CXX)
+$(BINDIR)/$(SNARK14): $(LDIGFILED) $(LDIGFILESD) $(LDIGFILERD) $(OBJ_C) $(OBJ_CXX) $(LSNARK14)
$(LD) $(LIBPATH) $(LDFLAGS) $(OBJ_C) $(OBJ_CXX) $(LIBS) -o bin/$(SNARK14)
$(BINDIR)/$(DISPLAY): $(DISPLAY_SRC) $(DISPLAY_INC)
$(LDIGFILERD) : $(DIGFILERD)
$(MAKE) --directory=$<
+
+$(LSNARK14) : $(SNARK14D)
+ $(MAKE) --directory=$<
+
$(OBJDIR):
@mkdir -p $@
#
-
ifndef SNARKINCLUDE
-SNARKINCLUDE=/usr/local/snark14/src/snark14/snark
+SNARKINCLUDE=../../../src/snark
endif
ifndef SNARKLIBDIR
-SNARKLIBDIR=/usr/local/snark14/lib
+SNARKLIBDIR=../../../lib
endif
ifndef SNARKLIBINCLUDEDIR
-SNARKLIBINCLUDEDIR=/usr/local/snark14/include
+SNARKLIBINCLUDEDIR=../../../include
endif
ifndef DIGFILEINCLUDE
-DIGFILEINCLUDE=/usr/local/snark14/include/DIGFile
+DIGFILEINCLUDE=../../../include/DIGFile
endif
ifndef DIGFILESNARKINCLUDE
-DIGFILESNARKINCLUDE=/usr/local/snark14/include/DIGFileSnark
+DIGFILESNARKINCLUDE=../../../include/DIGFileSnark
endif
ifndef DIGRANDINCLUDE
-DIGRANDINCLUDE=/usr/local/snark14/include/DIGRand
+DIGRANDINCLUDE=../../../include/DIGRand
endif
OUTDIR=../bin
#
ifndef SNARKINCLUDE
-SNARKINCLUDE=/usr/local/snark14/src/snark14/snark
+SNARKINCLUDE=../../../include
endif
ifndef SNARKLIBDIR
-SNARKLIBDIR=/usr/local/snark14/lib
+SNARKLIBDIR=../../../lib
endif
ifndef SNARKLIBINCLUDEDIR
-SNARKLIBINCLUDEDIR=/usr/local/snark14/include
+SNARKLIBINCLUDEDIR=../../../include
endif
ifndef DIGFILEINCLUDE
-DIGFILEINCLUDE=/usr/local/snark14/include/DIGFile
+DIGFILEINCLUDE=../../../include/DIGFile
endif
ifndef DIGFILESNARKINCLUDE
-DIGFILESNARKINCLUDE=/usr/local/snark14/include/DIGFileSnark
+DIGFILESNARKINCLUDE=../../../include/DIGFileSnark
endif
ifndef DIGRANDINCLUDE
-DIGRANDINCLUDE=/usr/local/snark14/include/DIGRand
+DIGRANDINCLUDE=../../../include/DIGRand
endif
OUTDIR=../bin
INCLUDEDIR = -I/usr/include -I$(XERCESINCLUDE)/.. \
-I$(DIGFILEINCLUDE) -I$(DIGFILESNARKINCLUDE) -I$(DIGRANDINCLUDE) -I$(SNARKINCLUDE) \
--I$(SNARKLIBINCLUDEDIR)
+-I$(SNARKLIBINCLUDEDIR) -I../../../src/snark
OBJ = \
user_fom1.o
-LIBS= -L$(SNARKLIBDIR) -lsnark14 -lDIGFile -lDIGFileSnark -lDIGRand -lxerces-c -lm
+LIBS= -L$(SNARKLIBDIR) -L../../../src/snark -lDIGFile -lDIGFileSnark -lDIGRand -lxerces-c -lm
+#LIBS= -L$(SNARKLIBDIR) -L../../../src/snark -lsnark14 -lDIGFile -lDIGFileSnark -lDIGRand -lxerces-c -lm
#ifndef CC
/****************************************************************************
** openimageswindow meta object code from reading C++ file 'openimages.hpp'
**
-** Created: Sun Feb 11 21:03:22 2018
+** Created: Sun Feb 11 21:45:02 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** rangewindow meta object code from reading C++ file 'range.hpp'
**
-** Created: Sun Feb 11 21:03:22 2018
+** Created: Sun Feb 11 21:45:03 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** selectEvalExecutionsWindow meta object code from reading C++ file 'selectEvalExecutions.hpp'
**
-** Created: Sun Feb 11 21:03:22 2018
+** Created: Sun Feb 11 21:45:03 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** selectimageswindow meta object code from reading C++ file 'selectimages.hpp'
**
-** Created: Sun Feb 11 21:03:23 2018
+** Created: Sun Feb 11 21:45:04 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** modewindow meta object code from reading C++ file 'mode.h'
**
-** Created: Sun Feb 11 21:07:22 2018
+** Created: Sun Feb 11 21:45:22 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** picturewindow meta object code from reading C++ file 'picture.h'
**
-** Created: Sun Feb 11 21:07:22 2018
+** Created: Sun Feb 11 21:45:23 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** projectionwindow meta object code from reading C++ file 'projection.h'
**
-** Created: Sun Feb 11 21:07:23 2018
+** Created: Sun Feb 11 21:45:23 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** punchwindow meta object code from reading C++ file 'punch.h'
**
-** Created: Sun Feb 11 21:07:23 2018
+** Created: Sun Feb 11 21:45:24 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** selectwindow meta object code from reading C++ file 'select.h'
**
-** Created: Sun Feb 11 21:07:23 2018
+** Created: Sun Feb 11 21:45:24 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** skunkwindow meta object code from reading C++ file 'skunk.h'
**
-** Created: Sun Feb 11 21:07:24 2018
+** Created: Sun Feb 11 21:45:25 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** stopwindow meta object code from reading C++ file 'stop.h'
**
-** Created: Sun Feb 11 21:07:24 2018
+** Created: Sun Feb 11 21:45:25 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** superwindow meta object code from reading C++ file 'super.h'
**
-** Created: Sun Feb 11 21:07:24 2018
+** Created: Sun Feb 11 21:45:26 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
/****************************************************************************
** tracewindow meta object code from reading C++ file 'trace.h'
**
-** Created: Sun Feb 11 21:07:25 2018
+** Created: Sun Feb 11 21:45:26 2018
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!