📄 makefile
字号:
# -------------------------------------------------------------------- # SMS Client, send messages to mobile phones and pagers # # Makefile # # Copyright (C) 1997,1998 Angelo Masci # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library 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 Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # You can contact the author at this e-mail address: # # angelo@styx.demon.co.uk # # -------------------------------------------------------------------- # $Id$# -------------------------------------------------------------------- include ../../Makefile.config# --------------------------------------------------------------------all: gs_parser.atest: test_parserclean: $(RM) gs_parser.a *.o *.bak test_parser# --------------------------------------------------------------------INCLUDE = -I..gs_parser.a: gs_list.o gs_parser.o gs_token.o gs_translate.o $(AR) -rc gs_parser.a gs_list.o gs_parser.o gs_token.o gs_translate.ogs_list.o: gs_list.c gs_token.h ../common.h $(CC) -g $(CFLAGS) $(INCLUDE) -c gs_list.cgs_parser.o: gs_parser.c gs_token.h ../common.h gs_parser.h $(CC) -g $(CFLAGS) $(INCLUDE) -c gs_parser.cgs_token.o: gs_token.c gs_token.h ../common.h gs_list.h $(CC) -g $(CFLAGS) $(INCLUDE) -c gs_token.cgs_translate.o: gs_translate.c gs_token.h ../common.h gs_list.h $(CC) -g $(CFLAGS) $(INCLUDE) -c gs_translate.ctest_parser: gs_parser.a test_parser.c ../logfile.o ../common.o $(CC) -g $(CFLAGS) $(INCLUDE) test_parser.c gs_parser.a -o test_parser ../common.o ../logfile.o -DMLOGLEVEL=3 -DMLOGFILE="\"test_log\""# --------------------------------------------------------------------../logfile.o: ../logfile.c ../logfile.h cd .. ; make logfile.o../common.o: ../common.c ../common.h cd .. ; make common.o# --------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -