Changeset b54a36e in git for kernel/makefile


Ignore:
Timestamp:
Aug 3, 2011, 8:56:41 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
ed82272d0e143c59b60e31b441961e2bbc3f3afd
Parents:
2c52441d528d3c9973ac9373c0325fe522bab68e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 20:56:41+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:24+01:00
Message:
ADD: make should now also build libkernel*...
ADD: 'make check' in kernel/ will try to link against libpolys AND libkernel_g.a
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/makefile

    r2c52441 rb54a36e  
    3535## compiler and linker options
    3636##
    37 LIBPOLYS_CFLAGS = `sh ../libpolys/libpolys-config --cflags`
     37LIBPOLYS_CFLAGS = -I.. -I../libpolys
     38LIBPOLYS_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
    3839
    3940PIPE            = -pipe
     
    300301
    301302
     303test.o: test.cc mod2.h libkernel_g.a 
     304        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
     305
     306
    302307# My headers test
    303 # test: test.o
    304 
    305 test.o: test.cc mod2.h
    306         $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
     308check: test.o
     309        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} $< -o test -L. -lkernel_g ${LIBPOLYS_LIBS} -lntl -ldl -lgmp
Note: See TracChangeset for help on using the changeset viewer.