From 9c20694a920bde84dd304379ad2d8b60603d8946 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sun, 9 Nov 2014 22:21:54 +0100 Subject: Correct Makefile --- morpion_rec/NiAh/Makefile | 6 +++--- 1 file 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) -- cgit v1.2.3