
2.3 MAKEFILE
Modify two blocks in MAKEFILE.
(1) Task definition block
#------------------------------------------------------------------------------
# Task definition block. Modify here for your application.
#------------------------------------------------------------------------------
TASK1 =
TASK2 =
TASK3 =
TASK4 =
TASK5 =
#------------------------------------------------------------------------------
# End of task definition block
#------------------------------------------------------------------------------
Define the macro TASK to specify the object files which compose the task.
In case of the task 1 consists of S1.C and S2.C, define it as follows.
TASK1 = s1.o s2.o
You can split the long line by '¥'.
TASK1 = s1.o s2.o ¥
s3.o
For the single task application, you should only define the macro TASK1.
TASK1 = s1.o s2.o
TASK2 =
TASK3 =
TASK4 =
TASK5 =
For the multi-task application, define the macro for all the tasks involved.
TASK1 = s1.o s2.o
TASK2 = x.o
TASK3 = y1.o y2.o y3.o
TASK4 =
TASK5 =