summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c188edd..718e4b7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,10 @@
all: polynom
-polynom: exceptions.c hash.c interface.c main.c numbers.c pile.c polynom.c scalaires.c
- gcc -o polynom exceptions.c hash.c interface.c main.c numbers.c pile.c polynom.c scalaires.c -lm \ No newline at end of file
+clean:
+ rm -f *.o polynom
+
+CC=gcc
+LDFLAGS=-lm
+CFLAGS=-Wall -O3
+
+polynom: exceptions.o hash.o parse.o main.o numbers.o pile.o polynom.o scalaires.o