📄 program.mk
字号:
########################################################
#
# $Copyright 2001 Joseph J. Lemieux ALL RIGHTS RESERVED. $
#
# $Filename: C:\OSEKBook\src\CH07\bld\program.mk $
#
# PROGRAM.MK: This file defines application specific
# make parameters.
# This file is "included" by the make file
# in an application directory.
#
########################################################
########################################################
# Define the target CPU for the tool chain.
########################################################
DTARGET=PPC555
########################################################
# Define floating point support available on the board.
########################################################
DFP=H
########################################################
# Define the target environment. If 0, then the program
# will be put into FLASH on the board.
########################################################
TARGET_ENV=1
########################################################
# Define the object files to be built
#
# This file lists all of the object files to be built
# for the application. Each object file should have a
# rule defined below.
#
########################################################
OBJECTS = \
startup.o \
oil.o \
init.o \
initspr.o \
cinit.o \
main.o \
debug.o \
dispdrv.o \
keypad.o \
cardgame.o \
hw.o\
os.o\
shuffle.o\
carddeck.o
########################################################
# Define the rules for the objects to be built. Do not
# use directories since they are implicit in the
# makefile. The macro STDHDRS defines standard headers
# that are used by many of the .c functions.
#
# For each assembly source rule, use the sequence of
# macros shown below as commands
#
# $(ASMPRE)
# $(ASMLINE)
# $(ASMPOST)
#
# For c source rules, use the following macro as the command
#
# $(COMPLINE)
#
########################################################
startup.o: startup.s
$(ASMPRE)
$(ASMLINE)
$(ASMPOST)
initspr.o: initspr.s
$(ASMPRE)
$(ASMLINE)
$(ASMPOST)
cinit.o: cinit.s
$(ASMPRE)
$(ASMLINE)
$(ASMPOST)
init.o: init.c init.cfg dispdrv.h $(STDHDRS)
$(COMPLINE)
main.o: main.c main.h $(STDHDRS)
$(COMPLINE)
debug.o: debug.c debug.h $(STDHDRS)
$(COMPLINE)
dispdrv.o: dispdrv.c dispdrv.h $(STDHDRS)
$(COMPLINE)
keypad.o: keypad.c keypad.h $(STDHDRS)
$(COMPLINE)
cardgame.o: cardgame.c cardgame.h $(STDHDRS)
$(COMPLINE)
hw.o: hw.c hw.h hw.cfg $(STDHDRS)
$(COMPLINE)
os.o: os.c os.h $(STDHDRS)
$(COMPLINE)
shuffle.o: shuffle.c shuffle.h $(STDHDRS)
$(COMPLINE)
carddeck.o: carddeck.c carddeck.h $(STDHDRS)
$(COMPLINE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -