📄 makefile
字号:
# Makefile for the Termite program# Copyright (C) 1996-1997 Nadav Cohen## 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 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., 675 Mass Ave, Cambridge, MA 02139, USA.######################################################################## Installer configuration sectionBINDIR=/usr/local/binMANDIR=/usr/local/manCURSDIR=/usr/include/ncursesMANSECTION=1######################################################################## Compiler configuration section#CFLAGS=-O -I$(CURSDIR)CC=g++# System V may require 'LIBS=-lbsd' here.LIBS=-lncursesTARGET=termiteOBJECTS=screen.o window.o modem.o menu.o list.o ansi.o avatar.o vt100.o \ error.o log.o utils.o phone.o config.o setup.o terminal.o filemgr.o \ main.o##########################$(TARGET): $(OBJECTS) $(CC) $(CFLAGS) $(OBJECTS) -o $(TARGET) $(LIBS)ansi.o: ansi.cavatar.o: avatar.cconfig.o: config.cerror.o: error.cfilemgr.o: filemgr.clist.o: list.clog.o: log.cmenu.o: menu.cmodem.o: modem.cphone.o: phone.cscreen.o: screen.csetup.o: setup.cterminal.o: terminal.cmain.o: main.cutils.o: utils.cvt100.o: vt100.cwindow.o: window.cinstall: install -c -m 0755 termite $(BINDIR) @if ! test -e $(HOME)/.termite ; then \ install -c -m 0600 termiterc $(HOME)/.termite ; \ echo Installed $(HOME)./termite ... ;\ fiinstall.man: install -c -m 0644 termite.$(MANSECTION) $(MANDIR)/man$(MANSECTION)clean: rm -f $(OBJECTS) rm -f $(TARGET)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -