Changeset 1579
- Timestamp:
- Oct 15, 2004, 7:24:39 PM (16 years ago)
- 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)) 1 SRC = l.cc r.cc left.cc right.cc middle.cc length.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = l.obj r.obj left.obj right.obj middle.obj length.obj 18 5 19 6 all:: module.list 20 7 21 module.list: $(OBJECTS) 22 echo $^ >module.list 23 24 clean:: 25 rm -rf *.o *.dep module.list 26 27 -include $(DEPS) 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 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)) 1 SRC = apply.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJ = apply.obj 13 5 14 6 all:: module.list 15 7 16 module.list: $(OBJECTS) 17 echo $^ >module.list 18 19 clean:: 20 rm -rf *.o *.dep module.list 21 22 -include $(DEPS) 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJ) >module.list 11 clean: 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)) 1 SRC = add.cc sub.cc div.cc mult.cc rem.cc div_rem.cc gcd.cc neg.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = add.obj sub.obj div.obj mult.obj rem.obj div_rem.obj gcd.obj neg.obj 20 5 21 6 all:: module.list 22 7 23 module.list: $(OBJECTS) 24 echo $^ >module.list 25 26 clean:: 27 rm -rf *.o *.dep module.list 28 29 -include $(DEPS) 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 clean: 12 del *.obj module.list -
to-imperative/branches/windows/library/Bit/Makefile
r1412 r1579 1 TOPDIR = ../.. 1 SRC = 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 2 2 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)) 3 CC = cl.exe 4 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 5 OBJS = 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 23 6 24 7 all:: module.list 25 8 26 module.list: $(OBJECTS) 27 echo $^ >module.list 9 module.list: 10 $(CC) $(C_FLAGS) $(SRC) 11 echo $(OBJS) >module.list 12 clean: 13 del *.obj module.list 28 14 29 clean::30 rm -rf *.o *.dep module.list31 32 -include $(DEPS) -
to-imperative/branches/windows/library/Box/Makefile
r1412 r1579 1 TOPDIR = ../.. 1 SRC = box.cc put.cc get.cc 2 2 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)) 3 CC = cl.exe 4 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 5 OBJS = box.obj put.obj get.obj 15 6 16 7 all:: module.list 17 8 18 module.list: $(OBJECTS) 19 echo $^ >module.list 9 module.list: 10 $(CC) $(C_FLAGS) $(SRC) 11 echo $(OBJS) >module.list 12 13 clean: 14 del *.obj module.list 20 15 21 clean::22 rm -rf *.o *.dep module.list23 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)) 1 SRC = 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 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = 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 22 5 23 6 all:: module.list 24 7 25 module.list: $(OBJECTS) 26 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 27 14 28 clean::29 rm -rf *.o *.dep module.list30 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)) 1 SRC = eq.cc gt.cc lt.cc s_eq.cc lt_eq.cc gt_eq.cc compare.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = eq.obj gt.obj lt.obj s_eq.obj lt_eq.obj gt_eq.obj compare.obj 20 5 21 6 all:: module.list 22 7 23 module.list: $(OBJECTS) 24 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 25 14 26 clean::27 rm -rf *.o *.dep module.list28 29 -include $(DEPS) -
to-imperative/branches/windows/library/Convert/Makefile
r1412 r1579 1 TOPDIR = ../.. 1 SRC = to_chars.cc to_lower.cc to_upper.cc bytes_to_chars.cc chars_to_bytes.cc to_int.cc to_word.cc 2 2 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)) 3 CC = cl.exe 4 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 5 OBJS = to_chars.obj to_lower.obj to_upper.obj bytes_to_chars.obj chars_to_bytes.obj to_int.obj to_word.obj 19 6 20 7 all:: module.list 21 8 22 module.list: $(OBJECTS) 23 echo $^ >module.list 24 25 clean:: 26 rm -rf *.o *.dep module.list 27 28 -include $(DEPS) 9 module.list: 10 $(CC) $(C_FLAGS) $(SRC) 11 echo $(OBJS) >module.list 12 13 clean: 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)) 1 SRC = open_dir_win.cc read_dir.cc close_dir.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I.. /I../../libp++ /I../../runtime 4 OBJS = open_dir_win.obj read_dir.obj close_dir.obj 15 5 16 6 all:: module.list 17 7 18 module.list: $(OBJECTS) 19 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 20 11 21 clean::22 rm -rf *.o *.dep module.list23 12 24 -include $(DEPS) 13 clean: 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 1 SRC = time.cc exit.cc arg.cc delay.cc sleep.cc random.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = time.obj exit.obj arg.obj delay.obj sleep.obj random.obj 5 19 6 all:: module.list 20 7 21 module.list: $(OBJECTS) 22 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 23 12 24 clean: :25 rm -rf *.o *.depmodule.list13 clean: 14 del *.obj module.list 26 15 27 -include $(DEPS) -
to-imperative/branches/windows/library/Makefile
r1461 r1579 1 TOPDIR = .. 1 all:: librf.lib 2 librf.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 18 clean: 19 del librf.lib 2 20 3 include $(TOPDIR)/rules.mk4 21 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 Vector21 22 22 RF_HEADERS = $(SUBDIRS:=.rfi)23 CPP_HEADERS = $(SUBDIRS:=.hh)24 23 25 lists = $(addsuffix /module.list, $(SUBDIRS))26 24 27 LIBRF = librf.a28 25 29 all:: $(LIBRF)30 26 31 $(LIBRF): $(lists)32 rm -rf $@33 $(AR) cru $@ $(foreach dir, $(SUBDIRS), $(addprefix $(dir)/, $(shell cat $(dir)/module.list)))34 27 35 clean::36 rm -rf $(LIBRF)37 28 38 install:: all39 mkdir -p -m 0755 $(INSTALL_DIR)/lib40 install -m 0644 $(LIBRF) $(INSTALL_DIR)/lib/41 mkdir -p -m 0755 $(INSTALL_DIR)/include/refal-plus42 $(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/refal46 $(foreach f, $(CPP_HEADERS), \47 install -m 0644 include/refal/$(f) \48 $(INSTALL_DIR)/include/refal/ ; )49 29 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)) 1 SRC = add.cc sub.cc div.cc mult.cc rem.cc div_rem.cc gcd.cc neg.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = add.obj sub.obj div.obj mult.obj rem.obj div_rem.obj gcd.obj neg.obj 20 5 21 6 all:: module.list 22 7 23 module.list: $(OBJECTS) 24 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 25 14 26 clean::27 rm -rf *.o *.dep module.list28 15 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 4 SRC = 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 5 CC = cl.exe 6 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 7 OBJS = 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 24 8 25 9 all:: module.list 26 10 27 module.list: $(OBJECTS) 28 echo $^ >module.list 11 module.list: 12 $(CC) $(C_FLAGS) $(SRC) 13 echo $(OBJS) >module.list 14 15 clean: 16 del *.obj module.list 29 17 30 clean::31 rm -rf *.o *.dep module.list32 18 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)) 1 SRC = 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 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = 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 21 5 22 6 all:: module.list 23 7 24 module.list: $(OBJECTS) 25 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 26 14 27 clean::28 rm -rf *.o *.dep module.list29 15 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)) 1 SRC = table.cc bind.cc domain.cc in_table.cc lookup.cc replace_table.cc table_copy.cc unbind.cc 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = table.obj bind.obj domain.obj in_table.obj lookup.obj replace_table.obj table_copy.obj unbind.obj 20 5 21 6 all:: module.list 22 7 23 module.list: $(OBJECTS) 24 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 25 14 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)) 1 SRC = 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 2 CC = cl.exe 3 C_FLAGS = /c /Zi /Ob1 /DWINDOWS /DDEBUG /DPARANOIA /DRFRT_STINGY_STACK /GR /EHsc /TP /I../../libp++ /I../../runtime 4 OBJS = 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 22 5 23 6 all:: module.list 24 7 25 module.list: $(OBJECTS) 26 echo $^ >module.list 8 module.list: 9 $(CC) $(C_FLAGS) $(SRC) 10 echo $(OBJS) >module.list 11 12 clean: 13 del *.obj module.list 27 14 28 clean:: 29 rm -rf *.o *.dep module.list 30 31 -include $(DEPS) 15
Note: See TracChangeset
for help on using the changeset viewer.