📄 aspex_arm_ext.mk
字号:
#
# Warning: This Makefile is generated by the genmake program from the template:
# gen_arx.mk - template for ARM compiler to build executables
# It is advised that you not modify this by hand. If you want
# to add something, you can change the gen_arx.mk template.
# Copyright (c) Allant Software 1998
#
TARGET = ARM
INC_PATHS = -I..\..\..
# CFLAGS is the default flags rule. Others are added below
CFLAGS = -g $(INC_PATHS)
CFLAGS_SRCS =
CFLAGS_COMP = $(CC) -c $(CFLAGS)
CFLAGS_OBJS =
CARM_C = -I..\..\.. -DAT91_DEBUG_ICE -dwarf2 -apcs /inter -apcs /softfp -Otime -O2 -cpu ARM7TDMI -zr16 -zi2
CARM_C_SRCS = ..\source\bench.c ..\source\com.c \
..\source\dhry_1.c ..\source\dhry_2.c \
..\source\timer.c ..\source\com_baud.c \
..\source\lib_at91.c
CARM_C_COMP = c:\compil\arm251\bin\armcc -c $$SRC $(CARM_C) -o $$OBJ
CARM_C_OBJS = target\arm_ext\bench.o target\arm_ext\com.o \
target\arm_ext\dhry_1.o target\arm_ext\dhry_2.o \
target\arm_ext\timer.o target\arm_ext\com_baud.o \
target\arm_ext\lib_at91.o
ADEFAULT = -i..\..\.. -pd "AT91_DEBUG_ICE SETA 0" -dwarf2 -cpu ARM7TDMI -apcs /inter
ADEFAULT_SRCS = ..\..\..\targets\eb40\cstartup.s
ADEFAULT_COMP = c:\compil\arm251\bin\armasm $(ADEFAULT) -o $$OBJ $$SRC
ADEFAULT_OBJS = target\arm_ext\cstartup.o
#FLAGS end here (put all flag groups above this line)
EXTHDRS =
HDRS =
LDFLAGS = -list target\arm_ext\map.map -map -xref -info totals -ro-base 0x2000000
# LIB_DEP is list of dependents for library build ($OBJS for example)
LIB_DEP =
# LIB_ARGS is argument line for librarian
LIB_ARGS =
# LIBS are system libraries as name
LIBS =
CC = cl$(TARGET)
LINKER = c:\compil\arm251\bin\armlink -elf
LIBRARIAN =
MAKENAME = aspex_arm_ext.mk
PRINT = pr
PROGRAM = target\arm_ext\arm_ext.axf
BUILD_LIB = none.lib
POST_BUILD =
OBJS = $(CFLAGS_OBJS) $(CARM_C_OBJS) $(ADEFAULT_OBJS)
SRCS = $(CFLAGS_SRCS) $(CARM_C_SRCS) $(ADEFAULT_SRCS)
# depend is for dependant rules that should not be linked in
DEPEND =
O_DEPEND =
COMP_LINE = $(CFLAGS_COMP)
# .c.o is default compile line if not explicitly defined
.c.o :
$(COMP_LINE) $*.c
# all is first target
all: $(BUILD_LIB) $(PROGRAM) $(POST_BUILD)
@+echo --- Build-all done ---
#LINK: next one is the link command
$(PROGRAM): $(OBJS) $(DEPEND) $(O_DEPEND) $(MAKENAME)
$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
#BUILD_LIB: this is only valid if filled in at macro point
$(BUILD_LIB): $(LIB_DEP) $(MAKENAME)
$(LIBRARIAN) $(LIB_ARGS)
clean:
+for %d in ($(OBJS) $(PROGRAM)) do if exist %d del %d
rebuild: clean all
depend:; upddep $(MAKENAME)
index:; ctags -wx $(HDRS) $(SRCS)
print:; $(PRINT) $(HDRS) $(SRCS)
program: $(PROGRAM)
tags: $(HDRS) $(SRCS); ctags $(HDRS) $(SRCS)
# DEPEND: include files below
# Dependency summaries:
# System includes suppressed
_________PERIPH_SPECIAL_FUNCTION_SF_H=..\..\..\periph\special_function\sf.h \
..\..\..\periph\stdc\std_c.h
_________PARTS_M40800_M40800_H=..\..\..\parts\m40800\m40800.h \
..\..\..\periph\arm7tdmi\arm.h \
$(_________PERIPH_SPECIAL_FUNCTION_SF_H) ..\..\..\periph\ebi\ebi.h \
..\..\..\periph\aic\aic.h ..\..\..\periph\pio\pio.h \
..\..\..\periph\usart\usart.h ..\..\..\periph\watchdog\wd.h \
..\..\..\periph\timer_counter\tc.h
_________PERIPH_POWER_SAVING_LIB_POWER_SAVE_H= \
..\..\..\periph\power_saving\lib_power_save.h \
..\..\..\periph\stdc\lib_err.h \
..\..\..\periph\power_saving\ps40400.h \
..\..\..\periph\power_saving\ps40800.h \
..\..\..\periph\power_saving\pmc42800.h \
..\..\..\periph\power_saving\apmc55800.h \
..\..\..\periph\power_saving\pmc63200.h
_________PARTS_M40800_LIB_M40800_H=..\..\..\parts\m40800\lib_m40800.h \
$(_________PARTS_M40800_M40800_H) \
..\..\..\periph\special_function\lib_sf.h \
..\..\..\periph\ebi\lib_ebi.h \
$(_________PERIPH_POWER_SAVING_LIB_POWER_SAVE_H) \
..\..\..\periph\aic\lib_aic.h \
..\..\..\periph\aic\ext_irq\lib_ext_irq.h \
..\..\..\periph\pio\lib_pio.h ..\..\..\periph\usart\lib_usart.h \
..\..\..\periph\watchdog\lib_wd.h \
..\..\..\periph\timer_counter\lib_tc.h
_________PARTS_R40807_LIB_R40807_H=..\..\..\parts\r40807\lib_r40807.h \
$(_________PARTS_M40800_LIB_M40800_H)
_________PARTS_R40807_R40807_H=..\..\..\parts\r40807\r40807.h \
$(_________PARTS_M40800_M40800_H)
_________TARGETS_EB40_EB40_H=..\..\..\targets\eb40\eb40.h \
$(_________PARTS_R40807_R40807_H)
___SOURCE_COM_H=..\source\com.h ..\..\..\periph\usart\lib_usart.h
# DEPEND: end include files
target\arm_ext\bench.o: ..\source\bench.c \
$(_________PARTS_R40807_LIB_R40807_H) \
..\..\..\targets\eb40\eb40.h ..\..\..\parts\r40807\r40807.h \
..\source\com.h
c:\compil\arm251\bin\armcc -c ..\source\bench.c $(CARM_C) -o \
target\arm_ext\bench.o
target\arm_ext\com.o: ..\source\com.c $(___SOURCE_COM_H)
c:\compil\arm251\bin\armcc -c ..\source\com.c $(CARM_C) -o \
target\arm_ext\com.o
target\arm_ext\dhry_1.o: ..\source\dhry_1.c ..\source\dhry.h
c:\compil\arm251\bin\armcc -c ..\source\dhry_1.c $(CARM_C) -o \
target\arm_ext\dhry_1.o
target\arm_ext\dhry_2.o: ..\source\dhry_2.c ..\source\dhry.h
c:\compil\arm251\bin\armcc -c ..\source\dhry_2.c $(CARM_C) -o \
target\arm_ext\dhry_2.o
target\arm_ext\timer.o: ..\source\timer.c \
..\..\..\periph\timer_counter\lib_tc.h
c:\compil\arm251\bin\armcc -c ..\source\timer.c $(CARM_C) -o \
target\arm_ext\timer.o
target\arm_ext\com_baud.o: ..\source\com_baud.c $(___SOURCE_COM_H)
c:\compil\arm251\bin\armcc -c ..\source\com_baud.c $(CARM_C) -o \
target\arm_ext\com_baud.o
target\arm_ext\lib_at91.o: ..\source\lib_at91.c \
$(_________PARTS_M40800_LIB_M40800_H)
c:\compil\arm251\bin\armcc -c ..\source\lib_at91.c $(CARM_C) -o \
target\arm_ext\lib_at91.o
target\arm_ext\cstartup.o: ..\..\..\targets\eb40\cstartup.s \
..\..\..\targets\eb40\eb40.inc \
..\..\..\targets\eb40\..\cstartup_angel.s \
..\..\..\targets\eb40\..\cstartup_ice.s \
..\..\..\targets\eb40\..\cstartup_flash.s
c:\compil\arm251\bin\armasm $(ADEFAULT) -o target\arm_ext\cstartup.o \
..\..\..\targets\eb40\cstartup.s
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -