DEV/BUT1/DEV1.1/CM2_2/EntrainementDS2/SUJET1 /EXO 1/Makefile

14 lines
298 B
Makefile
Raw Normal View History

2024-02-01 13:55:03 +01:00
# BUT PRINCIPAL
repetition_ou_pas : main.o repetition.o
gcc -ansi -pedantic -o repetition_ou_pas repetition.o main.o
repetition.o : repetition.c
gcc -ansi -pedantic -c repetition.c
main.o : main.c repetition.h
gcc -ansi -pedantic -c main.c
clean :
rm -f main.o repetition.o
.PHONY : clean