📄 makefile
字号:
## 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.## This program 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 Library General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.CC=gccCXX=g++DEFINES=-g -DVERSION=\"$(VERSION)\"CFLAGS=CXXFLAGS=LDFLAGS=LIBS=-lpthreadall: mmounter mmumountinstall: all install -D -s mmounter $(prefix)/usr/sbin/mmounter install -D -s mmumount $(prefix)/usr/bin/mmumount install -D mmounter.rc $(prefix)/etc/rc.d/init.d/mmounter.rc install -D ../docs/mmounter.conf $(prefix)/etc/mmounter.conf -mkdir $(prefix)/Local -mkdir -p $(prefix)/var/cache/mmounterclean: rm -f *.o mmounter mmumountmmounter: mmounter.o CONFFile.o getlabel.ext2.o getlabel.iso9660.o getlabel.hfs.o getlabel.vfat.o getlabel.ntfs.o $(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)mmumount: mmumount.o CONFFile.o $(CC) $(LDFLAGS) -o $@ $< $(LIBS).c.o: $(CC) $(DEFINES) $(CFLAGS) -c $< -o $@.C.o: $(CXX) $(DEFINES) $(CXXFLAGS) -c $< -o $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -