📄 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: ../../bin/smsd ../../bin/snppdclean: $(RM) *.o *.bak ../../bin/smsd ../../bin/snppd# --------------------------------------------------------------------INCLUDE = -I.. -I../parsergs_parser: cd ../parser ; make gs_parser.aserver.o: server.c ../common.h ../logfile.h server.h $(CC) $(CFLAGS) -c server.c $(INCLUDE)resource.o: resource.c ../common.h ../logfile.h resource.h $(CC) $(CFLAGS) -c resource.c $(INCLUDE)snppd.o: snppd.c ../logfile.h server.h ../common.h ../../Makefile.config $(CC) $(CFLAGS) -c snppd.c -DMSNPPDLOGLEVEL=3 -DMSNPPDLOGFILE="\"$(MSNPPDLOGFILE)\"" $(INCLUDE)smsd.o: smsd.c ../logfile.h server.h ../common.h ../../Makefile.config resource.h $(CC) $(CFLAGS) -c smsd.c -DMSMSDLOGLEVEL=3 -DMSMSDLOGFILE="\"$(MSMSDLOGFILE)\"" $(INCLUDE) ../../bin/smsd: smsd.o server.o ../logfile.o ../common.o resource.o gs_parser $(CC) $(CFLAGS) -o ../../bin/smsd smsd.o server.o ../logfile.o ../common.o $(XTRALIBS) resource.o ../parser/gs_parser.a../../bin/snppd: snppd.o server.o ../logfile.o ../common.o $(CC) $(CFLAGS) -o ../../bin/snppd snppd.o server.o ../logfile.o ../common.o $(XTRALIBS)# --------------------------------------------------------------------../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 + -