Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #18911

Re: Makefile doesn't detect header file change

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Makefile doesn't detect header file change
Date 2012-03-20 11:48 -0700
Organization None to speak of
Message-ID <lnaa3bhzwb.fsf@nuthaus.mib.org> (permalink)
References <5ff2f2a1-d2e7-4c2b-bd24-d728d7588904@9g2000pbn.googlegroups.com> <20120319193313.571@kylheku.com> <9fb30f83-8ba7-44dc-bf59-61c5df26c127@sv8g2000pbc.googlegroups.com>

Show all headers | View raw


lovecreatesbeauty <lovecreatesbeauty@gmail.com> writes:
[snip]
> I add auto-dependencies generation for header files to avoid specify
> individual header for source files.
>
> I tried use wildcard for the SRCS variable in Makefile, but caused
> some errors.
>
> $ cat Makefile
> CC       = gcc
> CFLAGS   = -ansi -pedantic -Wall -W
[snip]

Makefiles aren't specific to C.  You're likely to get better help in
comp.unix.programmer.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
    Will write code for food.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Makefile doesn't detect header file change lovecreatesbeauty <lovecreatesbeauty@gmail.com> - 2012-03-19 19:15 -0700
  Re: Makefile doesn't detect header file change Ian Collins <ian-news@hotmail.com> - 2012-03-20 15:46 +1300
  Re: Makefile doesn't detect header file change Kaz Kylheku <kaz@kylheku.com> - 2012-03-20 02:48 +0000
    Re: Makefile doesn't detect header file change lovecreatesbeauty <lovecreatesbeauty@gmail.com> - 2012-03-19 23:08 -0700
    Re: Makefile doesn't detect header file change lovecreatesbeauty <lovecreatesbeauty@gmail.com> - 2012-03-20 02:32 -0700
      Re: Makefile doesn't detect header file change Keith Thompson <kst-u@mib.org> - 2012-03-20 11:48 -0700

csiph-web