1 all: lib1stclass.a libb1stclass.so lib1stclass_cxx.a lib1stclass_cxx.so t/test
3 lib1stclass_cxx.a: host2ip_cxx.o is_num_cxx.o remove_path_cxx.o remove_not_file_char_cxx.o rmkdir_cxx.o 1stclass.hpp safe_strcat_cxx.o shmf_cxx.o itoa_cxx.o reverse_char_cxx.o rel2abs_cxx.o
4 ar rvs lib1stclass_cxx.a host2ip_cxx.o is_num_cxx.o remove_path_cxx.o remove_not_file_char_cxx.o rmkdir_cxx.o safe_strcat_cxx.o shmf_cxx.o itoa_cxx.o reverse_char_cxx.o rel2abs_cxx.o
5 ranlib lib1stclass_cxx.a;
7 lib1stclass_cxx.so: host2ip_cxx.o is_num_cxx.o remove_path_cxx.o remove_not_file_char_cxx.o rmkdir_cxx.o 1stclass.hpp safe_strcat_cxx.o shmf_cxx.o reverse_char_cxx.o rel2abs_cxx.o
8 g++ -shared -fPIC -o lib1stclass_cxx.so host2ip_cxx.o is_num_cxx.o remove_path_cxx.o remove_not_file_char_cxx.o rmkdir_cxx.o safe_strcat_cxx.o shmf_cxx.o reverse_char_cxx.o rel2abs_cxx.o
10 lib1stclass.a: host2ip.o rmkdir.o safe_strcat.o is_num.o itoa.o remove_path.o remove_not_file_char.o shmf.o reverse_char.o rel2abs.o
11 ar rvs lib1stclass.a host2ip.o itoa.o rmkdir.o safe_strcat.o is_num.o remove_path.o remove_not_file_char.o shmf.o reverse_char.o rel2abs.o
14 libb1stclass.so: host2ip.o rmkdir.o safe_strcat.o is_num.o itoa.o remove_path.o remove_not_file_char.o shmf.o reverse_char.o rel2abs.o
15 g++ -shared -fPIC -o lib1stclass.so host2ip.o itoa.o rmkdir.o safe_strcat.o is_num.o remove_path.o remove_not_file_char.o shmf.o reverse_char.o rel2abs.o
18 gcc -Wall -O3 -finline-functions -c host2ip.c;
20 host2ip_cxx.o: host2ip.c
21 g++ -Wall -O3 -finline-functions -o host2ip_cxx.o -c host2ip.c;
24 gcc -Wall -O3 -finline-functions -c is_num.c;
26 is_num_cxx.o: is_num.c
27 g++ -Wall -O3 -finline-functions -o is_num_cxx.o -c is_num.c;
30 gcc -Wall -O3 -finline-functions -c itoa.c
33 g++ -Wall -O3 -finline-functions -o itoa_cxx.o -c itoa.c
35 reverse_char.o: reverse_char.c;
36 gcc -Wall -O3 -finline-functions -c reverse_char.c;
38 reverse_char_cxx.o: reverse_char.c;
39 g++ -Wall -O3 -finline-functions -o reverse_char_cxx.o -c reverse_char.c;
41 remove_not_file_char.o: remove_not_file_char.c;
42 gcc -Wall -O3 -finline-functions -c remove_not_file_char.c;
44 remove_not_file_char_cxx.o: remove_not_file_char.c;
45 g++ -Wall -O3 -finline-functions -o remove_not_file_char_cxx.o -c remove_not_file_char.c;
47 remove_path.o: remove_path.c
48 gcc -Wall -O3 -finline-functions -c remove_path.c;
50 remove_path_cxx.o: remove_path.c
51 g++ -Wall -O3 -finline-functions -o remove_path_cxx.o -c remove_path.c;
54 gcc -Wall -O3 -finline-functions -c rel2abs.c;
56 rel2abs_cxx.o: rel2abs.c
57 g++ -Wall -O3 -finline-functions -o rel2abs_cxx.o -c rel2abs.c;
60 gcc -Wall -O3 -finline-functions -c rmkdir.c;
62 rmkdir_cxx.o: rmkdir.c
63 g++ -Wall -O3 -finline-functions -o rmkdir_cxx.o -c rmkdir.c;
65 safe_strcat.o: safe_strcat.c
66 gcc -Wall -O3 -finline-functions -c safe_strcat.c;
68 safe_strcat_cxx.o: safe_strcat.c
69 g++ -Wall -O3 -finline-functions -o safe_strcat_cxx.o -c safe_strcat.c;
72 gcc -Wall -O3 -finline-functions -c shmf.c;
75 g++ -Wall -O3 -finline-functions -o shmf_cxx.o -c shmf.c;
77 t/test: t/test.cpp lib1stclass_cxx.a lib1stclass.a;
78 g++ -Wall -O3 -finline-functions -o t/test.o -c t/test.cpp;
79 g++ -o t/test t/test.o lib1stclass_cxx.a lib1stclass.a;
84 mkdir -p /usr/local/lib;
85 cp lib1stclass.a /usr/local/lib;
86 cp lib1stclass.so /usr/local/lib;
87 cp lib1stclass_cxx.a /usr/local/lib;
88 cp lib1stclass_cxx.so /usr/local/lib;
89 cp 1stclass.h /usr/local/include;
90 cp 1stclass.hpp /usr/local/include;
108 rm *.tar.gz -f *.tar.gz;
114 perl add_version.pl --release;