Changeset fbb0173 in git


Ignore:
Timestamp:
Aug 23, 2011, 7:11:06 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
e4fe2b40ac408d4d74d81461cc23af8a30ddc204
Parents:
7b15f9d6e8069325ddf6e279925bb0ff0d3f4a94
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-23 19:11:06+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:25+01:00
Message:
ADD: Singularg
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/makefile

    r7b15f9d rfbb0173  
    4949
    5050PIPE            = -pipe
    51 CFLAGS          = -O3 -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
    52 CXXFLAGS        = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
     51CFLAGS          = -O3 -Wall -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
     52CXXFLAGS        = -O3 -Wall -fomit-frame-pointer --no-rtti ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
    5353CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
    5454CPPFLAGS        = -I${srcdir} -I..  -I${includedir} ${LIBPOLYS_INCLUDES}  ${PYTHON_INCLUDES}
    55 DEFS            = -DNDEBUG -DOM_NDEBUG
     55DEFS            = -DNDEBUG -DOM_NDEBUG  -DHAVE_SINGULAR
    5656LDFLAGS         = -L${srcdir}/lib
    5757LD_DYN_FLAGS    = -ldl -rdynamic
     
    223223OBJP := $(OBJP) $(STATIC_SOURCES:.cc=.op)
    224224
    225 all: libSingular_g.a libSingular.a Singularg Singular
    226 
    227 Singularg: tesths.og libSingular_g.a
    228         $(CXX) ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} tesths.og -o $@ -L. -lSingular_g -L../kernel -lkernel_g ${LIBPOLYS_LIBSG}
     225all: libSingular_g.a libSingular.a Singular Singularg
    229226
    230227Singular: tesths.o libSingular.a
    231228        $(CXX) ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} tesths.o -o $@ -L. -lSingular -L../kernel -lkernel ${LIBPOLYS_LIBS}
     229
     230Singularg: tesths.og libSingular_g.a
     231        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGSG} ${CPPFLAGSG} ${DEFSG} tesths.og -o $@ -L. -lSingular_g -L../kernel -lkernel_g ${LIBPOLYS_LIBSG}
    232232
    233233
     
    293293##
    294294
    295 CCG             = ${CC}
    296 CXXG            = ${CXX} -Wall
     295CCG             = ${CC} -g
     296CXXG            = ${CXX} -g
    297297CXXM            = gcc -MM -MG -DGENERATE_DEPEND
    298298CCM             = gcc -MM -MG -DGENERATE_DEPEND
    299299
    300 CFLAGSG         = -g ${PIPE} ${LIBPOLYS_CFLAGS}
    301 CXXFLAGSG       = -g ${PIPE} ${LIBPOLYS_CFLAGS}
    302 DEFSG           =
     300DEFSG           =  -DHAVE_SINGULAR
     301
     302CFLAGSG         = -Wall ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
     303CXXFLAGSG       = -Wall ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}
    303304
    304305##
     
    328329##
    329330
    330 CCP             = ${CC}
    331 CXXP            = ${CXX}
    332 
    333 CFLAGSP         = -g -pg -O ${PIPE} ${LIBPOLYS_CFLAGS}
    334 CXXFLAGSP       = -g -pg -O ${PIPE} ${LIBPOLYS_CFLAGS}
     331CCP             = ${CC} -g -pg
     332CXXP            = ${CXX} -g -pg
     333
     334CFLAGSP         = -O ${PIPE} ${LIBPOLYS_CFLAGS}
     335CXXFLAGSP       = -O ${PIPE} ${LIBPOLYS_CFLAGS}
    335336DEFSP           =
    336337
Note: See TracChangeset for help on using the changeset viewer.