📄 makefile
字号:
# iRTOS
# Copyright (C) 2008 Dmitriy Cherepanov
#
# This file is part of iRTOS
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public either
# version 2.1 of the License, or (at your option) any later version.
# This source is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# Do not be lasy! For the latest version see http://irtos.sourceforge.net.
top_dir=../..
include $(top_dir)/Makedefs
TARGET=tests
SRC = itests.c time_delay_test.c cycl_buf_test.c
# Object files directory
# To put object files in current directory, use a dot (.), do NOT make
# this an empty or blank macro!
OBJDIR = .
LIBNAME=lib$(TARGET).a
#ALL
ifeq ($(USE_FREERTOS_TESTS),1)
all: libcopy $(LIBNAME)
$(MAKE) -C ./freeRTOS all
else
all: libcopy $(LIBNAME)
endif
#clean
ifeq ($(USE_FREERTOS_TESTS),1)
clean:clean_dir
$(MAKE) -C ./freeRTOS clean
else
clean:clean_dir
endif
# $(MAKE_FREERTOS_LIB)
include $(top_dir)/Makerules
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -