# Makefile for creation of the program named by the PROG variable # # The following naming conventions are used by this makefile: # .asm - C62 assembly language source file # .obj - C62 object file (compiled/assembled source) # .out - C62 executable (fully linked program) # cfg.s62 - configuration assembly source file generated # by Configuration Tool # cfg.h62 - configuration assembly header file generated # by Configuration Tool # cfg.cmd - configuration linker command file generated # by Configuration Tool # TI_DIR := $(subst \,/,$(TI_DIR)) include $(TI_DIR)/c6000/bios/include/c62rules.mak # # Compiler, assembler, and linker options. # # -g enable symbolic debugging CC62OPTS = -g # -g enable symbolic debugging AS62OPTS = -g # -c ROM autoinotoalization model # -stack 0x400 set C stack syze to 0x400 words # -heap 0x400 set heap size to 0x400 words # -q quiet run LD62OPTS = -c -stack 0x400 -heap 0x400 -q PROG = img OBJS = vectors.obj LIBS = -lrts6201.lib CMDS = $(PROG).cmd # # Targets: # all:: $(PROG).out $(PROG).out: $(OBJS) $(CMDS) $(PROG).obj: .clean clean:: @ echo removing object files and binaries ... @$(REMOVE) -f *.obj *.out *.lst *.map