mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
33 lines
1.5 KiB
Text
33 lines
1.5 KiB
Text
LS_OPTFLAGS:= -O2 -ffast-math -fomit-frame-pointer $(EXTRA_CPPFLAGS) $(HEALPIX_EXTRAFLAGS)
|
|
LS_DEBUGFLAGS:= #-g
|
|
|
|
ifeq ($(strip $(OMP_SUPPORT)),ON)
|
|
LS_OMPFLAGS= $(OMP_FLAGS)
|
|
else
|
|
LS_OMPFLAGS= -U_OPENMP
|
|
endif
|
|
|
|
LS_PROFILEFLAGS:= #-pg
|
|
LS_STATICFLAGS:= #-static
|
|
LS_PICFLAGS:= -fPIC
|
|
|
|
EXTERNAL_CFITSIO= yes
|
|
CFITSIO_EXT_PREFIX= ${HEALPIX_BASE_PATH}/ext_build/cfitsio
|
|
CFITSIO_EXT_LIB= ${CFITSIO_EXT_PREFIX}/lib/libcfitsio.a
|
|
CFITSIO_EXT_INC= ${CFITSIO_EXT_PREFIX}/include/
|
|
|
|
CC= $(HEALPIX_CC)
|
|
CL= $(HEALPIX_CC)
|
|
CWARNFLAGS= -Wall -Wextra -Wno-long-long -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors
|
|
CCFLAGS_NO_C= $(CWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -fno-strict-aliasing --std=gnu89 -pedantic -fdata-sections -ffunction-sections
|
|
CCFLAGS= $(CCFLAGS_NO_C) -c
|
|
CLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -lm
|
|
|
|
CXX= $(HEALPIX_CXX)
|
|
CXXL= $(HEALPIX_CXX)
|
|
CXXWARNFLAGS= -Wall -Wextra -Wstrict-aliasing=2 -Wundef -Wshadow -Wwrite-strings -Wredundant-decls -Woverloaded-virtual -Wcast-qual -Wcast-align -Wpointer-arith -Wold-style-cast -Wno-unknown-pragmas -Wfatal-errors
|
|
CXXCFLAGS_NO_C= $(CXXWARNFLAGS) $(LS_PROFILEFLAGS) $(LS_DEBUGFLAGS) $(LS_OMPFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS) -ansi -fdata-sections -ffunction-sections
|
|
CXXCFLAGS= $(CXXCFLAGS_NO_C) -c
|
|
CXXLFLAGS= -L. -L$(LIBDIR) $(LS_PROFILEFLAGS) $(LS_OMPFLAGS) $(LS_STATICFLAGS) $(LS_PICFLAGS) $(LS_OPTFLAGS)
|
|
|
|
ARCREATE= ar cr
|