diff options
author | Pixel <Pixel> | 2001-04-28 22:28:23 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-04-28 22:28:23 +0000 |
commit | abd0d6dc5a56768f30232a0588b0c663f2acbe4f (patch) | |
tree | da325c71ea68125919af30de87a4d9a3204b98d8 /lib | |
parent | 76c1850b37cebc264ad7e4ad1848b303e2aef928 (diff) |
Pouet
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 2 | ||||
-rw-r--r-- | lib/main.c | 38 |
2 files changed, 1 insertions, 39 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index e1d12c2..95713a0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -4,7 +4,7 @@ AM_CFLAGS = -O3 -Wall -Wstrict-prototypes $(CFLAGS) INCLUDES = -I. -I.. -I$(includedir) -I../include lib_LTLIBRARIES = libPolynom.la -libPolynom_la_SOURCES = exceptions.c hash.c main.c numbers.c parser.c pile.c polynom.c scalaires.c +libPolynom_la_SOURCES = exceptions.c hash.c numbers.c parser.c pile.c polynom.c scalaires.c libPolynom_la_LDFLAGS = -version-info $(Polynom_VERSION_INFO) diff --git a/lib/main.c b/lib/main.c deleted file mode 100644 index 702dfee..0000000 --- a/lib/main.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * - * Programme principal - * - */ - -#include <stdio.h> -#include "main.h" -#include "hash.h" -#include "parser.h" -#include "polynom.h" -#include "pile.h" -#include "exceptions.h" -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define _(x) x -#endif - -_TableauVariable variables; -char *mute; - -int main(void) -{ - - Initialise(&variables); - mute = Estrdup("x"); - /* nom de la variable utilisee pour la saisie des polynomes, a recuperer en argv eventuellt */ - parse_line("(x^2) + x + 1;"); - //parse_line("P(2);"); - //printf("%s\n", affichage_level_1()); - return 0; - - -/* destruction de ts les polynomes stockes dans la table de hh */ -/* appel a la fonction de vidage de pile */ -/* vraiment utile? on quitte le prog, ttes les donnes dynamiques seront detruites ... */ -} |