# # Makefile for grepcidr # # Set to where you'd like grepcidr installed INSTALLDIR=/usr/local/bin # Set to your favorite C compiler and flags #CC=gcc CFLAGS=-s -O3 -Wall -pedantic #CFLAGS=-g -Wall -pedantic -DDEBUG=1 # End of settable values all: grepcidr grepcidr: grepcidr.c $(CC) $(CFLAGS) -o grepcidr grepcidr.c install: grepcidr cp grepcidr $(INSTALLDIR)