печально быть антисоциальным - Post a comment

Nov. 6th, 2013

[info]smejmoon

07:39 pm - dažreiz kaitina, ka murgs ir iebūvēts sistēmas pamatos

"These dependency files are then all included by the makefile, to obtain dependency info. An implicit rule is provided that describes how the dependency files are to be created. In short, something like this:

 
SRCS = foo.c bar.c ...

  %.P : %.c
          $(MAKEDEPEND)
          @sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' < $*.d > $@; \
             rm -f $*.d; [ -s $@ ] || rm -f $@

  include $(SRCS:.c=.P)
"
http://mad-scientist.net/make/autodep.html

Read Comments

Reply:

From:
( )Anonymous- this user has disabled anonymous posting.
Username:
Password:
Subject:
No HTML allowed in subject
  
Message:

Notice! This user has turned on the option that logs your IP address when posting.