Changeset f85d3e in git for coeffs/Makefile.in


Ignore:
Timestamp:
Sep 29, 2010, 6:12:45 PM (14 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
49a64cf3866667ef2b1dca559f7d269fbccd0965
Parents:
f9201ca20a18d3dedfea7a9b2a551f034a6ef251
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-09-29 18:12:45+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:31+01:00
Message:
1. Better makefile (debug test-g/no debug: test)
2. Zn Z2m seems to interfere with GMP folating point global init.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/Makefile.in

    rf9201c rf85d3e  
    3636CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
    3737CPPFLAGS        = -I${srcdir} -I${includedir} -I${prefix}/include
    38 LDFLAGS         = -L${libdir} -L${prefix}/lib
     38LDFLAGS         = -L${libdir} -L${prefix}/lib -L${srcdir}
    3939DEFS            = -DNDEBUG -DOM_NDEBUG @DEFS@
    4040
    41 LIBSG           =  @LIBPREFIX@ -lcoeffs_g -lreporter -lresource -lomalloc -lgmp
     41LIBS            =  @LIBPREFIX@ -lcoeffs -lreporter -lresource -lgmp -lomalloc_ndebug
     42LIBSG           =  @LIBPREFIX@ -lcoeffs_g -lreporter -lresource -lgmp -lomalloc
    4243
    4344#-DHAVE_RINGS
     
    6970
    7071OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o)
     72
     73
     74all: libcoeffs.a libcoeffs_g.a
     75
    7176
    7277.cc.o: 
     
    103108
    104109cleantest:
     110        -rm -f test test-g
    105111        -rm -Rf test test.dSYM/
    106112
    107113clean: mostlyclean cleantest
    108         -rm -f *.bak *.d *.dd depend *.a *.so*
     114        -rm -f *.bak *.d *.dd depend *.a *.so* 
    109115
    110116tags:   
    111117        ctags *.c *.h *.cc *.inc
    112 
    113 all: libcoeffs.a libcoeffs_g.a
    114118
    115119install: all
     
    120124        $(INSTALL_DATA) coeffs.h $(includedir)/coeffs.h
    121125
    122 test: test.cc libcoeffs_g.a
    123         ${CXXG} ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} test.cc ${LDFLAGS} ${LIBSG} -o test
     126test: test.cc libcoeffs.a
     127        ${CXX} ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} test.cc ${LDFLAGS} ${LIBS} -o test
     128
     129
     130test-g: test.cc libcoeffs_g.a
     131        ${CXXG} ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} test.cc ${LDFLAGS} ${LIBSG} -o test-g
Note: See TracChangeset for help on using the changeset viewer.