root/fwknop/tags/fwknop-0.9.7-pre3/Makefile

Revision 448, 1.5 kB (checked in by mbr, 3 years ago)

Added -O optimization

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #
2 ##########################################################################
3 #
4 #  Author: Michael Rash (mbr@cipherdyne.org)
5 #
6 #  Version: 0.1
7 #
8 #  Copyright (C) 1999-2002 Michael Rash (mbr@cipherdyne.org)
9 #
10 #  License (GNU Public License):
11 #
12 #     This program is distributed in the hope that it will be useful,
13 #     but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #     GNU General Public License for more details.
16 #
17 #     You should have received a copy of the GNU General Public License
18 #     along with this program; if not, write to the Free Software
19 #     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
20 #     USA
21 #
22 ##########################################################################
23 #
24 #  $Id$
25 #
26
27 ### default
28 all : knopmd.c knopwatchd.c fwknop_funcs.c strlcpy.c strlcat.c fwknop.h
29         /usr/bin/gcc -Wall -O knopmd.c fwknop_funcs.c strlcpy.c strlcat.c -o knopmd
30         /usr/bin/gcc -Wall -O knopwatchd.c fwknop_funcs.c strlcpy.c strlcat.c -o knopwatchd
31
32 ### debug mode
33 debug : knopmd.c knopwatchd.c fwknop_funcs.c strlcpy.c strlcat.c fwknop.h
34         /usr/bin/gcc -Wall -g -DDEBUG knopmd.c fwknop_funcs.c strlcpy.c strlcat.c -o knopmd
35         /usr/bin/gcc -Wall -g -DDEBUG knopwatchd.c fwknop_funcs.c strlcpy.c strlcat.c -o knopwatchd
36
37 #install : knopmd
38 #       if [ -x knopmd ]; then \
39 #               /bin/cp knopmd /usr/sbin/knopmd
40
41 clean :
42         if [ -f a.out ]; then rm a.out; fi
43         if [ -f core ]; then rm core; fi
44         if [ -f knopmd ]; then rm knopmd; fi
45         if [ -f knopwatchd ]; then rm knopwatchd; fi
Note: See TracBrowser for help on using the browser.