?? makefile
字號:
# GIMP Dynamic Text GNUMakefile# Copyright (C) 1998,1999 Marco Lamberto <lm@geocities.com># Web page: http://www.geocities.com/Tokyo/1474/gimp/## 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.CC = gccCDEBUG = $(DEBUG) -g #-DDEBUGCCFLAGS = -Wall -Wstrict-prototypes -Wmissing-declarations -I. $(CDEBUG)CLIBS =SOURCES = $(wildcard *.c)VER = $(shell grep "GDYNTEXT_VERSION " < gdyntext.h |sed 's/^[^"]*"//; s/"$$//')BINDIR = .obj/GIMPBIN = /usr/bin/CFLAGS = $(CCFLAGS) $(shell $(GIMPBIN)gimptool --cflags)LIBS = $(CLIBS) $(shell $(GIMPBIN)gimptool --libs)DESTS = $(addprefix $(BINDIR), $(SOURCES:.c=.o))BIN = gdyntextDEPEND = $(BINDIR).dependdefault: all$(BINDIR): if [ ! -d $@ ]; then mkdir $@; fiall: $(BINDIR) $(BINDIR)$(BIN)$(BINDIR)%.o: %.c $(CC) -o $@ $(CFLAGS) -c $<$(BINDIR)$(BIN): $(DESTS) $(CC) -o $@ $(CFLAGS) $(LIBS) $(DESTS) if [ ! -L $(BIN) ]; then ln -s $(BINDIR)$(BIN) .; fidep depend: $(CC) $(CFLAGS) -M $(SOURCES) > $(DEPEND)ui: $(SOURCES) $(CC) -o $(BIN)-ui $(CFLAGS) -DDEBUG_UI $(LIBS) $(SOURCES)install: $(BIN) strip $(BIN) $(GIMPBIN)gimptool --install-bin $(BIN)README: README.in gdyntext.h sed -e "s/@VERSION@/$(VER)/g" README.in > READMEclean: -rm -f core $(DESTS) \ $(BINDIR)$(BIN) $(BIN) $(BIN)-ui \ $(DEPEND) \ font_selection -rmdir $(BINDIR)cleandests: -rm -f core $(DESTS)ci: ci -l *.[ch] graphics/*.xpm scripts/*.scmdist: README (cd ../;\ rm -f gdyntext-*/;\ ln -s latest gdyntext-$(VER);\ tar cvfz gdyntext-$(VER).tgz gdyntext-$(VER)/{COPYING,README,TODO,NEWS,ChangeLog,Makefile,*.[ch],graphics/*.xpm,scripts/*.scm,libgimp/})font_selection: font_selection.c $(CC) -o $@ -DDEBUG -DDEBUG_FONT_SELECTION $(CCFLAGS) `gtk-config --cflags` `gtk-config --libs` $<-include $(DEPEND)# vim: set ts=2 sw=2 tw=79 ai nowrap:
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -