bonjour,
j'ai crée un ptt make file pour pouvoir utiliser un compilateur et un linker spécifié,
je comprend pas le message qu'il m'affiche :
voici le makefile que j'ai fait:
et le message affiché :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 COMPILER=arm-elf-gcc.exe LINKER=arm-elf-ld.exe CFLAGS=-Wall -ansi LDFLAGS=C:\GCC_3.4.3\bin\arm-elf -ld -L C:\GCC_3.4.3\arm-elf\lib\thumb\soft\interwork -L C:\GCC_3.4.3\lib\gcc\arm-elf\3.4.3\thumb\soft\interwork -lc -lgcc EXEC=hello all: $(EXEC) hello: hello.o main.o $(LINKER) -o hello hello.o main.o $(LDFLAGS) hello.o: hello.c $(COMPILER) -o hello.o -c hello.c $(CFLAGS) main.o: main.c hello.h $(COMPLIER) -o main.o -c main.c $(CFLAGS) .PHONY: clean mrproper clean: rm -rf *.o mrproper: clean rm -rf $(EXEC)
je commance a travailler avec les makefile, svp qq1 peut m'aider
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 make: Nothing to be done for `makefile'.
Partager