📄 makefile.in
字号:
## Makefile for TINTIN++ # # You may need to change some of this Makefile if you have trouble compiling.# Type 'make help' for a few instructions, if you like.# If you change the Makefile, you *may* need to type 'make clean', then 'make'.# If you have troubles compiling, or prefer the gcc compiler,# try uncommenting the 'gcc' line and commenting the 'cc' one.# Tintin++ doesn't *need* an ANSI compiler anymore, but gcc# is still better than cc on many platforms...CC = @CC@ -OCFLAGS = @DEFS@LIBS = @LIBS@PIPE = @PIPE@INCS = -I.RL = $(INCS) readline/libreadline.a -ltermcap# If you plan on doing debugging (with gdb), it is very helpful to turn all# the alarms off so that you can step through the code without having to # jump to the ticker function. This will also disable the internal# tickcounter.#F4 = -DDEBUG# BINDIR is the directory you wish tt++ to be placed if you wish to use# make install. BINDIR = ..# DEFAULT_FILE_DIR is the path to tintin files. # DEFAULT_FILE_DIR = @HOME@DEFAULT_FILE_DIR = $(HOME)########################################## You shouldn't need to change anything ## below this line. ########################################### GREP-FOR-ME (this is for gripe) ##########################################FFLAGS= $(F4)LFLAGS= CFILES = main.c parse.c action.c alias.c substitute.c session.c \ files.c history.c ticks.c misc.c path.c net.c llist.c utils.c \ variables.c highlight.c antisub.c ivars.c help.c text.c glob.c \ rl.c rlhist.c rltab.c rltick.c rlvt100.c log.c function.cOFILES = $(CFILES:.c=.o)all: tintin++ installtintin++: $(OFILES) tintin.h readline/libreadline.a @echo "---- Linking..." $(CC) $(CFLAGS) $(FFLAGS) $(LFLAGS) -o tt++ $(OFILES) $(LIBS) $(RL)readline/libreadline.a: @echo "---- Making GNU readline!" @echo "---- You may safely ignore any warnings it gives you (I think)." @echo "---- You can try editing src/readline/Makefile.in if you get" @echo "---- fatal errors, and then rerun ./install." @sleep 2 @(cd readline; make libreadline.a) @echo "---- Done with readline: back to your regularly scheduled make."install: @./install.sh $(BINDIR) $(DEFAULT_FILE_DIR) $(COMPRESSED_HELP)# Autocompile all .c files into .o files using this rule:.c.o: $(CC) $(PIPE) $(CFLAGS) $(FFLAGS) $(INCS) -c $<clean: rm -f *.o ../tt++ tt++ core readline/*.o readline/*.adistclean: clean rm -f Makefile Makefile.bak config.status @(cd readline; make distclean)depend: makedepend -o ".o" $(INCS) $(CFILES)# DO NOT DELETE THIS LINE -- make depend depends on it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -