aboutsummaryrefslogblamecommitdiff
path: root/morpion_rec/NiAh/Makefile
blob: 4fb6bece46fb997f3af7be69cc1e667cb0a5b04b (plain) (tree)






















                                             
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)