/[pupa]/pupa/genmk.rb
ViewVC logotype

Diff of /pupa/genmk.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by okuji, Thu Jan 2 20:12:32 2003 UTC revision 1.4 by okuji, Fri Jan 31 03:26:56 2003 UTC
# Line 1  Line 1 
1  #! /usr/bin/ruby -w  #! /usr/bin/ruby -w
2  #  #
3  # Copyright (C) 2002 Yoshinori K. Okuji <okuji@enbug.org>  # Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org>
4  #  #
5  # This genmk.rb is free software; the author  # This genmk.rb is free software; the author
6  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
# Line 60  MOSTLYCLEANFILES += #{deps_str} Line 60  MOSTLYCLEANFILES += #{deps_str}
60          $(OBJCOPY) -O binary -R .note -R .comment $< $@          $(OBJCOPY) -O binary -R .note -R .comment $< $@
61    
62  #{exe}: #{objs_str}  #{exe}: #{objs_str}
63          $(CC) $(LDFLAGS) $(#{prefix}_LDFLAGS) -o $@ $^          $(CC) -o $@ $^ $(LDFLAGS) $(#{prefix}_LDFLAGS)
64    
65  " + objs.collect_with_index do |obj, i|  " + objs.collect_with_index do |obj, i|
66        src = sources[i]        src = sources[i]
# Line 181  class Utility Line 181  class Utility
181  MOSTLYCLEANFILES += #{deps_str}  MOSTLYCLEANFILES += #{deps_str}
182    
183  #{@name}: #{objs_str}  #{@name}: #{objs_str}
184          $(BUILD_CC) $(BUILD_LDFLAGS) $(#{prefix}_LDFLAGS) -o $@ $^          $(BUILD_CC) -o $@ $^ $(BUILD_LDFLAGS) $(#{prefix}_LDFLAGS)
185    
186  " + objs.collect_with_index do |obj, i|  " + objs.collect_with_index do |obj, i|
187        src = sources[i]        src = sources[i]

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26