salut,

Ce make file ne fonctionne pas
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
main.o: main.c hello.h
gcc -o main.o -c main.c -W -Wall -ansi -pedantic
 
hello.o: hello.c
gcc -o hello.o -c hello.c -W -Wall -pedantic
 
hello: hello.o main.o
gcc -o hello hello.o main.o
..
$ bash Makefile
Makefile: line 1: hello:: command not found
Makefile: line 4: hello.o:: command not found
Makefile: line 7: main.o:: command not found
..