~ubuntu-branches/ubuntu/trusty/grepcidr/trusty-proposed

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Finnie
  • Date: 2006-10-05 01:58:17 UTC
  • Revision ID: james.westby@ubuntu.com-20061005015817-yge9lcfrk55azh4d
Tags: upstream-1.3
ImportĀ upstreamĀ versionĀ 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Makefile for grepcidr
 
3
#
 
4
 
 
5
# Set to where you'd like grepcidr installed
 
6
INSTALLDIR=/usr/local/bin
 
7
 
 
8
# Set to your favorite C compiler and flags
 
9
CC=gcc
 
10
CFLAGS=-s -O3 -Wall -pedantic
 
11
 
 
12
# End of settable values
 
13
 
 
14
grepcidr:
 
15
        $(CC) $(CFLAGS) -o grepcidr grepcidr.c getopt.c
 
16
 
 
17
all:    grepcidr
 
18
 
 
19
install:        grepcidr
 
20
        cp grepcidr $(INSTALLDIR)
 
21
 
 
22
clean:
 
23
        rm -f grepcidr *.o
 
24