include both headers
This commit is contained in:
parent
c283e024aa
commit
a7464acc2d
|
@ -18,7 +18,7 @@ LDFLAGS=-Wl,--rpath,/cm/shared/package/openblas/0.2.17mt/lib/,${CASA_LIBDIR}
|
||||||
#LDFLAGS=-Wl,-t,--rpath,/software/users/lofareor/SW/lib64
|
#LDFLAGS=-Wl,-t,--rpath,/software/users/lofareor/SW/lib64
|
||||||
# -Wl,--hash-style=both
|
# -Wl,--hash-style=both
|
||||||
|
|
||||||
MY_LIBS=-lm -ldirac -lsagecal
|
MY_LIBS=-lm -lradio -ldirac
|
||||||
INCLUDES=-I. -I../lib/Dirac -I../lib/Radio $(CASA_INCDIR) -I/usr/include
|
INCLUDES=-I. -I../lib/Dirac -I../lib/Radio $(CASA_INCDIR) -I/usr/include
|
||||||
LIBPATH=-L$(LAPACK_DIR) $(CASA_LIBDIR) -L../lib/Dirac -L../lib/Radio
|
LIBPATH=-L$(LAPACK_DIR) $(CASA_LIBDIR) -L../lib/Dirac -L../lib/Radio
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ main.o:main.cpp
|
||||||
$(CXX) $(CXXFLAGS) $(INCLUDES) $(GLIBI) -c $<
|
$(CXX) $(CXXFLAGS) $(INCLUDES) $(GLIBI) -c $<
|
||||||
data.o:data.cpp data.h
|
data.o:data.cpp data.h
|
||||||
$(CXX) $(CXXFLAGS) $(INCLUDES) $(GLIBI) -c $<
|
$(CXX) $(CXXFLAGS) $(INCLUDES) $(GLIBI) -c $<
|
||||||
sagecal:$(OBJECTS) ../lib/Radio/libsagecal.a ../lib/Dirac/libdirac.a
|
sagecal:$(OBJECTS) ../lib/Radio/libradio.a ../lib/Dirac/libdirac.a
|
||||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(INCLUDES) $(GLIBI) $(LIBPATH) -o $@ $(OBJECTS) $(MY_LIBS) $(LAPACK) $(CASA_LIBS) $(GLIBL)
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(INCLUDES) $(GLIBI) $(LIBPATH) -o $@ $(OBJECTS) $(MY_LIBS) $(LAPACK) $(CASA_LIBS) $(GLIBL)
|
||||||
clean:
|
clean:
|
||||||
rm *.o *.tmp *.fits *.swp *.swo *.o *.output
|
rm *.o *.tmp *.fits *.swp *.swo *.o *.output
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include "data.h"
|
#include "data.h"
|
||||||
#include "Radio.h"
|
#include "Radio.h"
|
||||||
|
#include "Dirac.h"
|
||||||
#include <measures/Measures/MDirection.h>
|
#include <measures/Measures/MDirection.h>
|
||||||
#include <measures/Measures/UVWMachine.h>
|
#include <measures/Measures/UVWMachine.h>
|
||||||
#include <casa/Quanta.h>
|
#include <casa/Quanta.h>
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <casacore/casa/Quanta/Quantum.h>
|
#include <casacore/casa/Quanta/Quantum.h>
|
||||||
|
|
||||||
#include <Dirac.h>
|
|
||||||
#include <Radio.h>
|
#include <Radio.h>
|
||||||
|
#include <Dirac.h>
|
||||||
|
|
||||||
#ifndef LMCUT
|
#ifndef LMCUT
|
||||||
#define LMCUT 40
|
#define LMCUT 40
|
||||||
|
|
Loading…
Reference in New Issue