📄 makefile
字号:
# Copyright (C) 2002 Shell Technologies s.r.l.# Author: Marco Cesati <cesati@uniroma2.it>## This program is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License as published by the# Free Software Foundation; either version 2 of the License, or (at your# option) any later version.TARGET = galil_1800.oSOURCE = $(TARGET:.o=.c)INCLUDE=-I/lib/modules/$(shell uname -r)/build/includeCFLAGS = -Wall -D__KERNEL__ -DMODULE -O2 -fomit-frame-pointer $(INCLUDE)%.ps: %.c enscript -E -o $@ $^all: .depend $(TARGET)install: install -c $(TARGET) /lib/modules/galil.PHONY: clean clean: rm -f *.o *~ core .depend $(TARGET:.o=.ps).depend: $(CC) $(CFLAGS) -MM $(SOURCE) > $@ifeq (.depend,$(wildcard .depend))include .dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -