aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-11-09 22:21:54 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-11-09 22:21:54 +0100
commit9c20694a920bde84dd304379ad2d8b60603d8946 (patch)
tree587522b675666d601859b81338afa7fac709030f
parentb3ace3075f22c50c99e2f1c3004fac2bbfee2989 (diff)
downloadCompetIA-9c20694a920bde84dd304379ad2d8b60603d8946.tar.gz
CompetIA-9c20694a920bde84dd304379ad2d8b60603d8946.zip
Correct Makefile
-rw-r--r--morpion_rec/NiAh/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/morpion_rec/NiAh/Makefile b/morpion_rec/NiAh/Makefile
index 4fb6bec..e6d8239 100644
--- a/morpion_rec/NiAh/Makefile
+++ b/morpion_rec/NiAh/Makefile
@@ -1,14 +1,14 @@
C=gcc
CFLAGS=-W -Wall -O3
LDFLAGS=-lm
-EXEC=IA-MR
+EXEC=player
.PHONY: clean mrproper
all: $(EXEC)
-IA-MR: ia.o main.o
- $(C) main.o ia.o -o IA-MR $(LDFLAGS)
+$(EXEC): ia.o main.o
+ $(C) main.o ia.o -o $(EXEC) $(LDFLAGS)
ia.o: ia.c ia.h
$(C) -o ia.o -c ia.c $(CFLAGS)