📄 makefile
字号:
TARGET = test_ipc.oSRC = $(TARGET:.o=.c)all: $(TARGET)# you might have to change thisifneq ($(wildcard ../../rtl.mk),)include ../../rtl.mkendif# the path to the rt-linux kernel $(TARGET): $(SRC) $(CC) ${INCLUDE} ${CFLAGS} -D__KERNEL__ -D__RT__ -c $(SRC)ins: $(TARGET) insmod $(TARGET)rm: rmmod $(TARGET)rtl: insmod ${RTL_DIR}/modules/rtl_sched insmod ${RTL_DIR}/modules/rtl_fifort_ipc: insmod ../rt_ipc.oclean: rm -f $(TARGET)include $(RTL_DIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -