
B-66284EN/01 4.EMBEDDING OF C APPLICATIONS
- 367 -
4.5.6.7 Making of memory card form file (*.MEM)
Edit the CEXE.MAK file according to the configuration of a
combined application, open the Windows command prompt, and
execute MAKE.BAT.
Defined in MAKE.BAT are the FP libraries and the object names
(FPMAINLIB.A, USERFUNC.O, BACK1.O, BACK2.O, etc.) of the
individual tasks, which are already described above.
By performing MAKE with the MAKEFILE, the memory card form
file of the combined application is created.
## Example) MAKEFILE for combining application program making ##############
#-----------------------------------------------------------------------
# Task definition block. Modify here for your application.
#-----------------------------------------------------------------------
TASK1=USERFUNC.O
USERMAIN.O ..\FPLIB\FPJPEGLIB.A ..\FPLIB\FPMAINLIB.A
TASK2 = BACK2.O
TASK3 = BACK1.O ..\FPLIB\FPSUBLIB.A
TASK4 = TASK4.O
TASK5 = TASK5.O
# Select one of the following FROMSIZE variables according to F-ROM size.
# Remove the leading comment mark (#) of the selected FROMSIZE variable.
#FROMSIZE = 0_5M # MEMORY CARD 0.5MB
#FROMSIZE = 1_0M # MEMORY CARD 1.0MB
FROMSIZE = 2_0M # MEMORY CARD 2.0MB
#FROMSIZE = 3_0M # MEMORY CARD 3.0MB
#FROMSIZE = 4_0M # MEMORY CARD 4.0MB
#FROMSIZE = 5_0M # MEMORY CARD 5.0MB
#FROMSIZE = 6_0M # MEMORY CARD 6.0MB
#######################################################################