makefile
来自「TI dm6446 video subsytem window blending」· 代码 · 共 42 行
TXT
42 行
#############################################################################
#
# This Makefile is for compiling the Hello World application
#
#############################################################################
# Makefile compiler and archieve path
TARGET =
CC = arm_v5t_le-gcc
AR = arm_v5t_le-ar
MAKE = make
# Header and Library path and compiler flags
INCPATH =
CFLAGS = -O2 -Wall
LIBS =
SRC = init_cursor.c init_osd0.c init_osd1.c init_vid0.c init_vid1.c fbmain.c
OBJ = $(subst .c,.o,$(SRC))
$(warning $(OBJ))
TARGET = fbblend
# Demo script
all: $(TARGET)
%.o:%.c
$(CC) -c $(CFLAGS) $(INCPATH) $< -o $@
$(TARGET):$(OBJ)
@echo "------------Building the Application-----------"
$(CC) $^ -o $@ $(LIBS)
@echo The build was successful
cp -a $@ /home/yang2000/Develop/target_dvevm/opt/vpbe/
# Make clean
clean:
rm -f $(TARGET) *~ core *.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?