Files
kunlun/dtest/muticore_ipc_test/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2024-09-28 14:24:04 +08:00
# OUTPUT type
# 1 - .out
# 2 - .a
# 3 - .so
OUTPUT_TYPE = 0
OUTPUT_NAME = multicore
SUB_DIRS += appcpu_ipc_test seccpu_ipc_test
# .h files dir
#ADD_INCLUDE += $(TOPDIR)/inc/pkt $(TOPDIR)/inc/io_lib $(TOPDIR)/plc/inc \
# $(TOPDIR)/plc/halphy/inc $(TOPDIR)/inc/os_shim $(TOPDIR)/common/compiler/gcc/inc \
# $(TOPDIR)/plc/halmac/inc $(TOPDIR)/inc/utils $(TOPDIR)/plc/halmac/hw/inc/desc \
# $(TOPDIR)/plc/halmac/hw/inc/reg $(TOPDIR)/plc/halmac/hw/inc $(TOPDIR)/plc/halphy/hw/inc \
# $(TOPDIR)/inc/driver $(TOPDIR)/dtest/common $(TOPDIR)/plc/common/inc
# predefined macro
PRE_MARCO +=
# lib dir
ADD_LIBDIR =
# lib need to ld together
ADD_LIB =
ifdef TOPDIR
include $(TOPDIR)/build/makefile.cfg
else
include $(CURDIR)/build/makefile.cfg
TOPDIR = $(CURDIR)
export TOPDIR
endif
# display the obj files and output name
debug:
@echo TOPDIR=$(TOPDIR)
@echo OUTPUT_LIB=$(OUTPUT_FULL_NAME)
@echo DEPS=$(DEPS)
@echo OBJECTS=$(OBJECTS)
@echo SRCS=$(SRCS)
@echo OBJECTS folder=$(foreach dirname, $(SUB_DIRS), $(addprefix $(BIN_DIR)/, $(dirname)))
@echo output_name=$(OUTPUT_FULL_NAME)