|
From: | Mike Shal |
Subject: | Re: Make: Unexpected Behavior with Dependencies and include Statement |
Date: | Wed, 23 Sep 2015 13:06:26 -0400 |
I made a typo in my previous email: The following make file duplicates the problem, the one in the previous email does not:
a.d:
gcc -m32 -MM -o $@ a.c
sed 's!a.o!$@ a.o!' --in-place $@
a.o:
gcc -c -m32 -o $@ a.c
all: a.d a.o
-include a.d
[Prev in Thread] | Current Thread | [Next in Thread] |