Yurttas/PL/OOL/Cplusplus/F/04/02/03/00/make.animals 02

From ZCubes Wiki
Jump to navigation Jump to search
 1animals_02 : animals_02.o \
 2             animals_out.o \
 3             Sea.o \
 4             Land.o \
 5             Birds.o \
 6             Mammals.o \
 7             Animal.o
 8
 9	g++ animals_02.o \
10            animals_out.o \
11            Sea.o \
12            Land.o \
13            Birds.o \
14            Mammals.o \
15            Animal.o \
16         -o animals_02
17
18animals_02.o : animals_02.cpp \
19               Animal.h \
20               Mammals.h \
21               Birds.h \
22               Land.h \
23               Sea.h
24
25	g++ -c animals_02.cpp
26
27animals_out.o : animals_out.cpp \
28                Animal.h
29
30	g++ -c animals_out.cpp
31
32Animal.o : Animal.cpp \
33           Animal.h
34
35	g++ -c Animal.cpp
36
37Mammals.o : Mammals.cpp \
38            Animal.h \
39            Mammals.h
40
41	g++ -c Mammals.cpp
42
43Birds.o : Birds.cpp \
44          Animal.h \
45          Birds.h
46
47	g++ -c Birds.cpp
48
49Land.o : Land.cpp \
50         Mammals.h \
51         Land.h
52
53	g++ -c Land.cpp
54
55Sea.o : Sea.cpp \
56        Mammals.h \
57        Sea.h
58
59	g++ -c Sea.cpp