Makefile
上传用户:mei_mei897
上传日期:2007-01-05
资源大小:82k
文件大小:2k
- # --------------------------------------------------------------------
- # 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: Makefile,v 5.1 1998/02/01 07:10:39 root Exp root $
- # --------------------------------------------------------------------
- include ../Makefile.config
- # --------------------------------------------------------------------
- all: logfile.o common.o
- cd driver ; $(MAKE)
- cd client ; $(MAKE)
- cd parser ; $(MAKE)
- # cd server ; $(MAKE)
- # cd queue ; $(MAKE)
- install:
- cd client ; $(MAKE) install
- # cd server ; $(MAKE) install
- # cd queue ; $(MAKE) install
-
- uninstall:
- cd client ; $(MAKE) uninstall
- # cd server ; $(MAKE) uninstall
- # cd queue ; $(MAKE) uninstall
-
- clean:
- $(RM) -f *.o *.bak
- cd client ; $(MAKE) clean
- cd driver ; $(MAKE) clean
- cd parser ; $(MAKE) clean
- # cd server ; $(MAKE) clean
- # cd queue ; $(MAKE) clean
- # --------------------------------------------------------------------
- logfile.o: logfile.c logfile.h
- $(CC) $(CFLAGS) -c logfile.c
- common.o: common.c common.h
- $(CC) $(CFLAGS) -c common.c
- # --------------------------------------------------------------------