diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-11-09 22:19:57 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-11-09 22:19:57 +0100 |
commit | b3ace3075f22c50c99e2f1c3004fac2bbfee2989 (patch) | |
tree | 33d98c8308750a5506264a7ece8c15ed62e1eb90 /morpion_rec/NiAh/Makefile | |
parent | 67332d5f6542601fede361af23647bf3afaf19ee (diff) | |
download | CompetIA-b3ace3075f22c50c99e2f1c3004fac2bbfee2989.tar.gz CompetIA-b3ace3075f22c50c99e2f1c3004fac2bbfee2989.zip |
Update C template IA for morpion_rec from Alexis.
Diffstat (limited to 'morpion_rec/NiAh/Makefile')
-rw-r--r-- | morpion_rec/NiAh/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/morpion_rec/NiAh/Makefile b/morpion_rec/NiAh/Makefile new file mode 100644 index 0000000..4fb6bec --- /dev/null +++ b/morpion_rec/NiAh/Makefile @@ -0,0 +1,23 @@ +C=gcc +CFLAGS=-W -Wall -O3 +LDFLAGS=-lm +EXEC=IA-MR + +.PHONY: clean mrproper + +all: $(EXEC) + +IA-MR: ia.o main.o + $(C) main.o ia.o -o IA-MR $(LDFLAGS) + +ia.o: ia.c ia.h + $(C) -o ia.o -c ia.c $(CFLAGS) + +main.o: main.c main.h ia.o + $(C) -o main.o -c main.c $(CFLAGS) + +clean: + rm -rf *.o + +mkproper: clean + rm -rf $(EXEC) |