Changeset 1579


Ignore:
Timestamp:
Oct 15, 2004, 7:24:39 PM (16 years ago)
Author:
orlov
Message:
  • Makefile for windows (branch: windows).
Location:
to-imperative/branches/windows/library
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/branches/windows/library/Access/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   l \
    9   r \
    10   left \
    11   right \
    12   middle \
    13   length
    14 
    15 SOURCES = $(addsuffix .cc, $(MODULES))
    16 OBJECTS = $(addsuffix .o, $(MODULES))
    17 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = l.cc r.cc left.cc right.cc middle.cc length.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = l.obj r.obj left.obj right.obj middle.obj length.obj
    185
    196all:: module.list
    207
    21 module.list: $(OBJECTS)
    22          echo $^ >module.list
    23 
    24 clean::
    25         rm -rf *.o *.dep module.list
    26 
    27 -include $(DEPS)
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
  • to-imperative/branches/windows/library/Apply/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   apply
    9 
    10 SOURCES = $(addsuffix .cc, $(MODULES))
    11 OBJECTS = $(addsuffix .o, $(MODULES))
    12 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = apply.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJ = apply.obj
    135
    146all:: module.list
    157
    16 module.list: $(OBJECTS)
    17          echo $^ >module.list
    18 
    19 clean::
    20         rm -rf *.o *.dep module.list
    21 
    22 -include $(DEPS)
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJ) >module.list 
     11clean:
     12  del *.obj module.list
  • to-imperative/branches/windows/library/Arithm/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   add \
    9   sub \
    10   div \
    11   mult \
    12   rem \
    13   div_rem \
    14   gcd \
    15   neg
    16 
    17 SOURCES = $(addsuffix .cc, $(MODULES))
    18 OBJECTS = $(addsuffix .o, $(MODULES))
    19 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = add.cc sub.cc div.cc mult.cc rem.cc div_rem.cc gcd.cc neg.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = add.obj sub.obj div.obj mult.obj rem.obj div_rem.obj gcd.obj neg.obj
    205
    216all:: module.list
    227
    23 module.list: $(OBJECTS)
    24          echo $^ >module.list
    25 
    26 clean::
    27         rm -rf *.o *.dep module.list
    28 
    29 -include $(DEPS)
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11clean:
     12  del *.obj module.list
  • to-imperative/branches/windows/library/Bit/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
     1SRC = bit_and.cc bit_or.cc bit_not.cc bit_left.cc bit_right.cc bit_test.cc bit_xor.cc bit_print.cc bit_set.cc bit_clear.cc bit_length.cc
    22
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   bit_and \
    9   bit_or \
    10   bit_not \
    11   bit_left \
    12   bit_right \
    13   bit_test \
    14   bit_xor \
    15   bit_print \
    16   bit_set \
    17   bit_clear \
    18   bit_length
    19 
    20 SOURCES = $(addsuffix .cc, $(MODULES))
    21 OBJECTS = $(addsuffix .o, $(MODULES))
    22 DEPS = $(addsuffix .dep, $(MODULES))
     3CC = cl.exe
     4C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     5OBJS = bit_and.obj bit_or.obj bit_not.obj bit_left.obj bit_right.obj bit_test.obj bit_xor.obj bit_print.obj bit_set.obj bit_clear.obj bit_length.obj
    236
    247all:: module.list
    258
    26 module.list: $(OBJECTS)
    27          echo $^ >module.list
     9module.list:
     10  $(CC) $(C_FLAGS) $(SRC)
     11  echo $(OBJS) >module.list
     12clean:
     13  del *.obj module.list
    2814
    29 clean::
    30         rm -rf *.o *.dep module.list
    31 
    32 -include $(DEPS)
  • to-imperative/branches/windows/library/Box/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
     1SRC = box.cc put.cc get.cc
    22
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   box \
    9   put \
    10   get
    11 
    12 SOURCES = $(addsuffix .cc, $(MODULES))
    13 OBJECTS = $(addsuffix .o, $(MODULES))
    14 DEPS = $(addsuffix .dep, $(MODULES))
     3CC = cl.exe
     4C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     5OBJS = box.obj put.obj get.obj
    156
    167all:: module.list
    178
    18 module.list: $(OBJECTS)
    19          echo $^ >module.list
     9module.list:
     10  $(CC) $(C_FLAGS) $(SRC)
     11  echo $(OBJS) >module.list
     12 
     13clean:
     14  del *.obj module.list
    2015
    21 clean::
    22         rm -rf *.o *.dep module.list
    23 
    24 -include $(DEPS)
  • to-imperative/branches/windows/library/Class/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   box_q \
    9   channel_q \
    10   char_q \
    11   digit_q \
    12   int_q \
    13   letter_q \
    14   string_q \
    15   table_q \
    16   vector_q \
    17   word_q
    18 
    19 SOURCES = $(addsuffix .cc, $(MODULES))
    20 OBJECTS = $(addsuffix .o, $(MODULES))
    21 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = box_q.cc channel_q.cc char_q.cc digit_q.cc int_q.cc letter_q.cc string_q.cc table_q.cc vector_q.cc word_q.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = box_q.obj channel_q.obj char_q.obj digit_q.obj int_q.obj letter_q.obj string_q.obj table_q.obj vector_q.obj word_q.obj
    225
    236all:: module.list
    247
    25 module.list: $(OBJECTS)
    26          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11   
     12clean:
     13  del *.obj module.list
    2714
    28 clean::
    29         rm -rf *.o *.dep module.list
    30 
    31 -include $(DEPS)
  • to-imperative/branches/windows/library/Compare/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   eq \
    9   gt \
    10   lt \
    11   s_eq \
    12   lt_eq \
    13   gt_eq \
    14   compare
    15 
    16 
    17 SOURCES = $(addsuffix .cc, $(MODULES))
    18 OBJECTS = $(addsuffix .o, $(MODULES))
    19 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = eq.cc gt.cc lt.cc s_eq.cc lt_eq.cc gt_eq.cc compare.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = eq.obj gt.obj lt.obj s_eq.obj lt_eq.obj gt_eq.obj compare.obj
    205
    216all:: module.list
    227
    23 module.list: $(OBJECTS)
    24          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
    2514
    26 clean::
    27         rm -rf *.o *.dep module.list
    28 
    29 -include $(DEPS)
  • to-imperative/branches/windows/library/Convert/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
     1SRC = to_chars.cc to_lower.cc to_upper.cc bytes_to_chars.cc chars_to_bytes.cc to_int.cc to_word.cc
    22
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   to_chars \
    9   to_lower \
    10   to_upper \
    11   bytes_to_chars \
    12   chars_to_bytes \
    13   to_int \
    14   to_word
    15 
    16 SOURCES = $(addsuffix .cc, $(MODULES))
    17 OBJECTS = $(addsuffix .o, $(MODULES))
    18 DEPS = $(addsuffix .dep, $(MODULES))
     3CC = cl.exe
     4C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     5OBJS = to_chars.obj to_lower.obj to_upper.obj bytes_to_chars.obj chars_to_bytes.obj to_int.obj to_word.obj
    196
    207all:: module.list
    218
    22 module.list: $(OBJECTS)
    23          echo $^ >module.list
    24 
    25 clean::
    26         rm -rf *.o *.dep module.list
    27 
    28 -include $(DEPS)
     9module.list:
     10  $(CC) $(C_FLAGS) $(SRC)
     11  echo $(OBJS) >module.list
     12 
     13clean:
     14  del *.obj module.list
  • to-imperative/branches/windows/library/Dir/Makefile

    r1461 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS) -I$(TOPDIR)/library
    6 
    7 MODULES = \
    8   open_dir \
    9   close_dir \
    10   read_dir
    11 
    12 SOURCES = $(addsuffix .cc, $(MODULES))
    13 OBJECTS = $(addsuffix .o, $(MODULES))
    14 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = open_dir_win.cc read_dir.cc close_dir.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I.. /I../../libp++ /I../../runtime
     4OBJS = open_dir_win.obj read_dir.obj close_dir.obj
    155
    166all:: module.list
    177
    18 module.list: $(OBJECTS)
    19          echo $^ >module.list
     8module.list:
     9   $(CC) $(C_FLAGS) $(SRC)
     10   echo $(OBJS) >module.list
    2011
    21 clean::
    22         rm -rf *.o *.dep module.list
    2312
    24 -include $(DEPS)
     13clean:
     14  del *.obj module.list
     15
  • to-imperative/branches/windows/library/Dos/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   time \
    9   exit \
    10   arg \
    11   delay \
    12   sleep \
    13   random
    14 
    15 SOURCES = $(addsuffix .cc, $(MODULES))
    16 OBJECTS = $(addsuffix .o, $(MODULES))
    17 DEPS = $(addsuffix .dep, $(MODULES))
    18 
     1SRC = time.cc exit.cc arg.cc delay.cc sleep.cc random.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = time.obj exit.obj arg.obj delay.obj sleep.obj random.obj
     5     
    196all:: module.list
    207
    21 module.list: $(OBJECTS)
    22          echo $^ >module.list
     8module.list:
     9   $(CC) $(C_FLAGS) $(SRC)
     10   echo $(OBJS) >module.list
     11   
    2312
    24 clean::
    25         rm -rf *.o *.dep module.list
     13clean:
     14  del *.obj module.list
    2615
    27 -include $(DEPS)
  • to-imperative/branches/windows/library/Makefile

    r1461 r1579  
    1 TOPDIR = ..
     1all:: librf.lib
     2librf.lib:
     3 lib /OUT:librf.lib Access/l.obj Access/r.obj Access/left.obj Access/right.obj Access/middle.obj Access/length.obj\
     4 Apply/apply.obj\
     5 Arithm/add.obj Arithm/sub.obj Arithm/div.obj Arithm/mult.obj Arithm/rem.obj Arithm/div_rem.obj Arithm/gcd.obj Arithm/neg.obj\
     6 ShortArithm/add.obj ShortArithm/sub.obj ShortArithm/div.obj ShortArithm/mult.obj ShortArithm/rem.obj ShortArithm/div_rem.obj ShortArithm/gcd.obj ShortArithm/neg.obj\
     7 Bit/bit_and.obj Bit/bit_or.obj Bit/bit_not.obj Bit/bit_left.obj Bit/bit_right.obj Bit/bit_test.obj Bit/bit_xor.obj Bit/bit_print.obj Bit/bit_set.obj Bit/bit_clear.obj Bit/bit_length.obj\
     8 Box/box.obj Box/put.obj Box/get.obj\
     9 Class/box_q.obj Class/channel_q.obj Class/char_q.obj Class/digit_q.obj Class/int_q.obj Class/letter_q.obj Class/string_q.obj Class/table_q.obj Class/vector_q.obj Class/word_q.obj\
     10 Compare/eq.obj Compare/gt.obj Compare/lt.obj Compare/s_eq.obj Compare/lt_eq.obj Compare/gt_eq.obj Compare/compare.obj\
     11 Convert/to_chars.obj Convert/to_lower.obj Convert/to_upper.obj Convert/bytes_to_chars.obj Convert/chars_to_bytes.obj Convert/to_int.obj Convert/to_word.obj\
     12 Dos/time.obj Dos/exit.obj Dos/arg.obj Dos/delay.obj Dos/sleep.obj Dos/random.obj\
     13 StdIO/print.obj StdIO/write.obj StdIO/print_e_.obj StdIO/write_e_.obj StdIO/read_m_line.obj StdIO/read.obj StdIO/channel.obj StdIO/open_file.obj StdIO/close_channel.obj StdIO/std_channels.obj StdIO/eof_q_.obj\
     14 String/string.obj String/string_length.obj String/string_fill.obj String/string_init.obj String/string_ref.obj String/string_set.obj String/string_replace.obj String/substring.obj String/substring_fill.obj\
     15 Table/table.obj Table/bind.obj Table/domain.obj Table/in_table.obj Table/lookup.obj Table/replace_table.obj Table/table_copy.obj Table/unbind.obj\
     16 Vector/vector.obj Vector/vector_to_exp.obj Vector/vector_init.obj Vector/vector_fill.obj Vector/vector_length.obj Vector/vector_ref.obj Vector/vector_set.obj Vector/vector_replace.obj Vector/subvector.obj Vector/subvector_fill.obj\
     17 Dir/open_dir_win.obj Dir/read_dir.obj Dir/close_dir.obj
     18clean:
     19 del librf.lib
    220
    3 include $(TOPDIR)/rules.mk
    421
    5 SUBDIRS = \
    6   Access \
    7   Apply \
    8   Arithm \
    9   ShortArithm \
    10   Bit \
    11   Box \
    12   Class \
    13   Compare \
    14   Convert \
    15   Dir \
    16   Dos \
    17   StdIO \
    18   String \
    19   Table \
    20   Vector
    2122
    22 RF_HEADERS = $(SUBDIRS:=.rfi)
    23 CPP_HEADERS = $(SUBDIRS:=.hh)
    2423
    25 lists = $(addsuffix /module.list, $(SUBDIRS))
    2624
    27 LIBRF = librf.a
    2825
    29 all:: $(LIBRF)
    3026
    31 $(LIBRF): $(lists)
    32         rm -rf $@
    33         $(AR) cru $@ $(foreach dir, $(SUBDIRS), $(addprefix $(dir)/, $(shell cat $(dir)/module.list)))
    3427
    35 clean::
    36         rm -rf $(LIBRF)
    3728
    38 install:: all
    39         mkdir -p -m 0755 $(INSTALL_DIR)/lib
    40         install -m 0644 $(LIBRF) $(INSTALL_DIR)/lib/
    41         mkdir -p -m 0755 $(INSTALL_DIR)/include/refal-plus
    42         $(foreach f, $(RF_HEADERS), \
    43                 install -m 0644 include/refal-plus/$(f) \
    44                                 $(INSTALL_DIR)/include/refal-plus/ ; )
    45         mkdir -p -m 0755 $(INSTALL_DIR)/include/refal
    46         $(foreach f, $(CPP_HEADERS), \
    47                 install -m 0644 include/refal/$(f) \
    48                                 $(INSTALL_DIR)/include/refal/ ; )
    4929
     30
     31 
  • to-imperative/branches/windows/library/ShortArithm/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   add \
    9   sub \
    10   div \
    11   mult \
    12   rem \
    13   div_rem \
    14   gcd \
    15   neg
    16 
    17 SOURCES = $(addsuffix .cc, $(MODULES))
    18 OBJECTS = $(addsuffix .o, $(MODULES))
    19 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = add.cc sub.cc div.cc mult.cc rem.cc div_rem.cc gcd.cc neg.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = add.obj sub.obj div.obj mult.obj rem.obj div_rem.obj gcd.obj neg.obj
    205
    216all:: module.list
    227
    23 module.list: $(OBJECTS)
    24          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
    2514
    26 clean::
    27         rm -rf *.o *.dep module.list
    2815
    29 -include $(DEPS)
     16
     17
  • to-imperative/branches/windows/library/StdIO/Makefile

    r1553 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   print \
    9   write \
    10   print_e_ \
    11   write_e_ \
    12   read_m_char \
    13   read_m_line \
    14   read \
    15   channel \
    16   open_file \
    17   close_channel \
    18   std_channels \
    19   eof_q_
    20 
    21 SOURCES = $(addsuffix .cc, $(MODULES))
    22 OBJECTS = $(addsuffix .o, $(MODULES))
    23 DEPS = $(addsuffix .dep, $(MODULES))
     1#librf.lib:
     2# cl /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /c /I../../libp++ /I../../runtime /GR /EHsc /TP print.cc write.cc print_e_.cc write_e_.cc read_m_line.cc read.cc channel.cc open_file.cc close_channel.cc std_channels.cc eof_q_.cc
     3#  lib /OUT:librf.lib print.obj write.obj print_e_.obj write_e_.obj read_m_line.obj read.obj channel.obj open_file.obj close_channel.obj std_channels.obj eof_q_.obj
     4SRC = print.cc write.cc print_e_.cc write_e_.cc read_m_line.cc read_m_char.cc read.cc channel.cc open_file.cc close_channel.cc std_channels.cc eof_q_.cc
     5CC = cl.exe
     6C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     7OBJS = print.obj write.obj print_e_.obj write_e_.obj read_m_char.obj read_m_line.obj read.obj channel.obj open_file.obj close_channel.obj std_channels.obj eof_q_.obj
    248
    259all:: module.list
    2610
    27 module.list: $(OBJECTS)
    28          echo $^ >module.list
     11module.list:
     12  $(CC) $(C_FLAGS) $(SRC)
     13  echo $(OBJS) >module.list
     14 
     15clean:
     16  del *.obj module.list
    2917
    30 clean::
    31         rm -rf *.o *.dep module.list
    3218
    33 -include $(DEPS)
     19
  • to-imperative/branches/windows/library/String/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   string  \
    9   string_length \
    10   string_fill \
    11   string_init \
    12   string_ref \
    13   string_set \
    14   string_replace \
    15   substring \
    16   substring_fill
    17 
    18 SOURCES = $(addsuffix .cc, $(MODULES))
    19 OBJECTS = $(addsuffix .o, $(MODULES))
    20 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = string.cc string_length.cc string_fill.cc string_init.cc string_ref.cc string_set.cc string_replace.cc substring.cc   substring_fill.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = string.obj string_length.obj string_fill.obj string_init.obj string_ref.obj string_set.obj string_replace.obj substring.obj   substring_fill.obj
    215
    226all:: module.list
    237
    24 module.list: $(OBJECTS)
    25          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
    2614
    27 clean::
    28         rm -rf *.o *.dep module.list
    2915
    30 -include $(DEPS)
  • to-imperative/branches/windows/library/Table/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   table \
    9   bind \
    10   domain \
    11   in_table \
    12   lookup \
    13   replace_table \
    14   table_copy \
    15   unbind
    16  
    17 SOURCES = $(addsuffix .cc, $(MODULES))
    18 OBJECTS = $(addsuffix .o, $(MODULES))
    19 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = table.cc bind.cc domain.cc in_table.cc lookup.cc replace_table.cc table_copy.cc unbind.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = table.obj bind.obj domain.obj in_table.obj lookup.obj replace_table.obj table_copy.obj unbind.obj
    205
    216all:: module.list
    227
    23 module.list: $(OBJECTS)
    24          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
    2514
    26 clean::
    27         rm -rf *.o *.dep module.list
    28 
    29 -include $(DEPS)
     15 
  • to-imperative/branches/windows/library/Vector/Makefile

    r1412 r1579  
    1 TOPDIR = ../..
    2 
    3 include $(TOPDIR)/rules.mk
    4 
    5 CPPFLAGS += $(RFRTLIB_CFLAGS)
    6 
    7 MODULES = \
    8   vector \
    9   vector_to_exp \
    10   vector_init \
    11   vector_fill \
    12   vector_length \
    13   vector_ref \
    14   vector_set \
    15   vector_replace \
    16   subvector \
    17   subvector_fill
    18  
    19 SOURCES = $(addsuffix .cc, $(MODULES))
    20 OBJECTS = $(addsuffix .o, $(MODULES))
    21 DEPS = $(addsuffix .dep, $(MODULES))
     1SRC = vector.cc vector_to_exp.cc vector_init.cc vector_fill.cc vector_length.cc vector_ref.cc vector_set.cc  vector_replace.cc subvector.cc subvector_fill.cc
     2CC = cl.exe
     3C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime
     4OBJS = vector.obj vector_to_exp.obj vector_init.obj vector_fill.obj vector_length.obj vector_ref.obj vector_set.obj  vector_replace.obj subvector.obj subvector_fill.obj
    225
    236all:: module.list
    247
    25 module.list: $(OBJECTS)
    26          echo $^ >module.list
     8module.list:
     9  $(CC) $(C_FLAGS) $(SRC)
     10  echo $(OBJS) >module.list
     11 
     12clean:
     13  del *.obj module.list
    2714
    28 clean::
    29         rm -rf *.o *.dep module.list
    30 
    31 -include $(DEPS)
     15 
Note: See TracChangeset for help on using the changeset viewer.