[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #include in a C file
From: |
Noel David Torres Taño |
Subject: |
Re: #include in a C file |
Date: |
Tue, 7 Dec 2010 07:54:38 +0000 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) |
On Martes 07 Diciembre 2010 05:43:27 ali hagigat escribió:
> Does the following makefile suffice to resolve the problem of adding
> rules to show the dependency of main.c and its header files?
>
> -include main.d
> main.o: main.c
> gcc -MD -o main.o main.c
>
No. Try it and you will see why.
- Re: #include in a C file, (continued)
- Re: #include in a C file, Sam Ravnborg, 2010/12/04
- Re: #include in a C file, ali hagigat, 2010/12/05
- Re: #include in a C file, Sam Ravnborg, 2010/12/05
- Re: #include in a C file, ali hagigat, 2010/12/05
- Re: #include in a C file, Sam Ravnborg, 2010/12/05
- Re: #include in a C file, ali hagigat, 2010/12/06
- Re: #include in a C file, Sam Ravnborg, 2010/12/06
- Re: #include in a C file, ali hagigat, 2010/12/06
- Re: #include in a C file, Paul Smith, 2010/12/06
- Re: #include in a C file, ali hagigat, 2010/12/07
- Re: #include in a C file,
Noel David Torres Taño <=
- Re: #include in a C file, Sam Ravnborg, 2010/12/06
- Re: #include in a C file, Björn Michaelsen, 2010/12/04