Changeset 6b71e2 in git


Ignore:
Timestamp:
Aug 4, 2011, 2:31:53 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
88ece17732096cebe2ea956dab2edbeaad8852ee
Parents:
cb1a064253f682f7f732247406eb939b566c1b61
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-04 14:31:53+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:25+01:00
Message:
ADD: "make check" tries to link test and test-g now!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/makefile

    rcb1a06 r6b71e2  
    3636##
    3737LIBPOLYS_CFLAGS = -I.. -I../libpolys
    38 LIBPOLYS_LIBS   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lfactory -lomalloc_g
     38LIBPOLYS_LIBS   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys -lcoeffs -lresources -lreporter -lmisc -lfactory -lomalloc
     39LIBPOLYS_LIBSG   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lfactory -lomalloc_g
    3940
    4041PIPE            = -pipe
     
    301302
    302303
     304test.og: test.cc mod2.h libkernel_g.a 
     305        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
     306
    303307test.o: test.cc mod2.h libkernel_g.a 
    304         $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
    305 
     308        $(CXX) ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} -c $< -o $@
     309
     310
     311test-g: test.og
     312        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} $< -o $@ -L. -lkernel_g ${LIBPOLYS_LIBSG} -lntl -ldl -lgmp
     313
     314test: test.o
     315        $(CXX) ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} $< -o $@ -L. -lkernel ${LIBPOLYS_LIBS} -lntl -ldl -lgmp
    306316
    307317# My headers test
    308 check: test.o
    309         $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} $< -o test -L. -lkernel_g ${LIBPOLYS_LIBS} -lntl -ldl -lgmp
     318check: test test-g
Note: See TracChangeset for help on using the changeset viewer.