Adding STM Code Modules : Sample Code Module : Generated Makefile

Generated Makefile

The following shows the generated makefile.

all : out_lib.a

 

CC = cc

 

OBJECTS = \

job_man_dictionary.o\

example.o\

init_queue_tail_sc.o\

job_priority_sc.o\

remove_job_sc.o\

empty_queue_sc.o

CFLAGS = -O -I$$STM_ROOT/etc/prt/c -I$$STM_ROOT/etc/sched -DPRT -Dsparc

 

out_lib.a : $(OBJECTS)

ar rvu out_lib.a $(OBJECTS)

ranlib out_lib.a

 

example.o : example.h