1 diff -rhNp comgt.0.32/Makefile gcom-032/Makefile
2 *** comgt.0.32/Makefile 2007-02-10 19:07:58.723709368 +0100
3 --- gcom-032/Makefile 2007-02-10 19:18:26.764232696 +0100
7 ! # Makefile - build and install the comgt package
8 # Copyright (C) 2005 Martin Gregorie
9 - # Copyright (C) 2006 Paul Hardwick
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
15 ! # Makefile - build and install the gmon package
16 # Copyright (C) 2005 Martin Gregorie
18 # This program is free software; you can redistribute it and/or modify
19 # it under the terms of the GNU General Public License as published by
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 ! # martin@gregorie.org, paul@peck.org.uk
27 ! # $Id: Makefile,v 1.4 2006/10/20 14:30:19 pharscape Exp $
31 - LIB = -L/usr/local/lib
32 - INC = -I/usr/local/include
34 MAN = /usr/share/man/man1
36 ! SCRIPTPATH = /etc/comgt/
37 ! SCRIPTSRC = ./scripts/
39 ! MANP = comgt.1 sigmon.1
55 - -mkdir $(SCRIPTPATH)
56 - chmod a-w $(SCRIPTPATH)
57 - chmod u+rw $(SCRIPTPATH)
58 - chmod a+x $(SCRIPTPATH)
59 - cp -f $(SCRIPTSRC)* $(SCRIPTPATH)
60 - chmod a-w $(SCRIPTPATH)*
61 - chmod u+rw $(SCRIPTPATH)*
62 - chmod a+x $(SCRIPTPATH)*
70 - -rm -r $(SCRIPTPATH)
80 ! cc comgt.o $(LDFLAGS) -o comgt
82 ! comgt.o: comgt.c comgt.h
83 ! cc comgt.c $(CFLAGS)
86 # along with this program; if not, write to the Free Software
87 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
89 ! # martin@gregorie.org
94 MAN = /usr/share/man/man1
97 ! BIN = $(CPROG) $(SCRIPT)
98 ! MANP = gcom.1 sigmon.1
107 ! cp $(BIN) $(EXE)/gcom
115 cd $(MAN); rm $(MANP)
122 ! $(CC) gcom.o $(LDFLAGS) -o gcom
124 ! gcom.o: comgt.c comgt.h
125 ! $(CC) -c $(CFLAGS) comgt.c -o gcom.o