📄 makefile
字号:
# This is my first makefile --- PIT module makefileINCLUDEDIR1 = /root/8347pc/linuxppc-2.4/include/linux INCLUDEDIR2 = /root/8347pc/linuxppc-2.4/arch/ppcINCLUDEDIR3 = /root/8347pc/linuxppc-2.4/includeINCLUDEDIR4= /root/8347pc/linuxppc-2.4/include/asmLIBS = stdcxLIB2 = /opt/eldk/ppc_6xx/usr/lib/gcc-lib/ppc-linux/3.3.3GCC = /opt/mtwk/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-spe/powerpc-linux-gnuspe/bin/gcc#GCC= /opt/eldk/usr/bin/ppc_6xx-gccLD = /opt/mtwk/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-spe/powerpc-linux-gnuspe/bin/ldCFLAGS = -D__KERNEL__ -DMODULE -DCONFIG_83xx -I$(INCLUDEDIR2) -I$(INCLUDEDIR3) -O -Wall -hifdef CONFIG_SMPCFLAGS += -D__SMP__ -DSMPendifall: driver_pwm.o testpwm.elf movefiledriver_pwm.o: driver_pwm.c $(GCC) $(CFLAGS) -c $^ -o $@testpwm.elf: testpwm.c $(GCC) -I$(INCLUDEDIR3) -o $@ -g $^ movefile: cp driver_pwm.o ../../lib/module cp testpwm.elf ../../usr/appclean: rm -f *.o *.core *.elf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -