Yurttas/PL/OOL/Cplusplus/F/04/02/00/01/make.fruits 05

From ZCubes Wiki
Jump to navigation Jump to search
 1fruits_05 : fruits_05.o \
 2            Apple.o \
 3            Orange.o
 4 
 5	g++ fruits_05.o \
 6            Apple.o \
 7            Orange.o \
 8         -o fruits_05
 9
10fruits_05.o : fruits_05.cpp \
11              Apple.h \
12              Orange.h
13
14	g++ -c fruits_05.cpp
15
16Apple.o : Apple.cpp \
17          Fruit.h \
18          Apple.h
19
20	g++ -c Apple.cpp
21
22Orange.o : Orange.cpp \
23           Fruit.h \
24           Orange.h
25
26	g++ -c Orange.cpp