help-make
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
include directory
From
:
Vad N
Subject
:
include directory
Date
:
Tue, 25 Mar 2008 09:54:33 +0200
Hello
I have a problem.
My makefile is:
----------------
depend : main.c
$(CC) -M $(CPPFLAGS) $^ > $@
include depend
------------------
I type in command line:
>>make -f myMakefile
cc -M main.c > depend
make: 'depend' is up to date.
I assumed that above make produce main.o, but it did. why?
If I now the include directive add the dependencies of main.c to make file and
according to implicit rule( %.o : %.c ) make must produce main.o. I am right?
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
include directory
,
Vad N
<=
Re: include directory
,
John Calcote
,
2008/03/25
Prev by Date:
Re: Help me simplify this makefile
Next by Date:
A new Autotools book
Previous by thread:
Help me simplify this makefile
Next by thread:
Re: include directory
Index(es):
Date
Thread