Parent Directory | Revision Log | Patch
revision 1.12 by cjwatson, Sun Apr 6 23:05:10 2003 UTC | revision 1.13 by cjwatson, Mon Apr 7 07:09:46 2003 UTC | |
---|---|---|
# | Line 111 troff="@troff@" | Line 111 troff="@troff@" |
111 | # become the default for all Makefiles. | # become the default for all Makefiles. |
112 | ||
113 | # A couple of rules. | # A couple of rules. |
114 | %.d: %.c | .depend/%.d: %.c |
115 | $(CPP) -M $(CPPFLAGS) $< | \ | @test -d .depend || mkdir .depend |
116 | sed -e 's/$*\.o[ ]*/& $@/g' > $@ || (rm -f $@; exit 1) | @$(CPP) -M $(CPPFLAGS) $< | \ |
117 | sed -e 's,$*\.o[ ]*,& $@,g' > $@ || (rm -f $@; exit 1) | |
118 | ||
119 | %.i: %.c | %.i: %.c |
120 | $(CPP) $(CPPFLAGS) $< > $@ | $(CPP) $(CPPFLAGS) $< > $@ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |