Now uses the system maths library by default
git-svn-id: http://picoc.googlecode.com/svn/trunk@395 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
5a4161261e
commit
d5e7a536f1
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-Wall -pedantic -g -DUNIX_HOST
|
CFLAGS=-Wall -pedantic -g -DUNIX_HOST
|
||||||
LIBS=#-lm
|
LIBS=-lm
|
||||||
|
|
||||||
TARGET = picoc
|
TARGET = picoc
|
||||||
SRCS = picoc.c table.c lex.c parse.c expression.c heap.c type.c variable.c clibrary.c library_unix.c platform.c platform_unix.c math_library.c
|
SRCS = picoc.c table.c lex.c parse.c expression.c heap.c type.c variable.c clibrary.c library_unix.c platform.c platform_unix.c math_library.c
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
# ifndef NO_FP
|
# ifndef NO_FP
|
||||||
# include <math.h>
|
# include <math.h>
|
||||||
# define PICOC_MATH_LIBRARY
|
# define PICOC_MATH_LIBRARY
|
||||||
# define NEED_MATH_LIBRARY
|
/*# define NEED_MATH_LIBRARY*/
|
||||||
# undef BIG_ENDIAN
|
# undef BIG_ENDIAN
|
||||||
# if defined(__powerpc__) || defined(__hppa__) || defined(__sparc__)
|
# if defined(__powerpc__) || defined(__hppa__) || defined(__sparc__)
|
||||||
# define BIG_ENDIAN
|
# define BIG_ENDIAN
|
||||||
|
|
Loading…
Reference in a new issue