Hi, i'm new linux user and i'm tring to create a makefile to simple modular program composed of 4 files:
Create_Process.cpp
Name.cpp
Shell.cpp
Shell.h
My makefile is:
all: nome shell
nome: nome.cpp
g++ -o nome nome.cpp
shell: shell.h shell.cpp crea_processo.cpp
g++ -c -o shell.o shell.cpp
g++ -c -o crea_processo.o crea_processo.cpp
g++ -o shell shell.o crea_processo.o
clean :
rm -f *.o
rm -f nome
rm -f shell
When i run make command the shell show me this message:
make: *** No rule to make target `nome.cpp', needed by `nome'. Stop.
[/i]
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Little problem with makefile...
-
- Posts: 6
- Joined: 2006-06-08 19:34
- Location: Italia Napoli