From 5b0655cb206d1caaeb2a2713728ebde2c756234f Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 23 Dec 2011 11:32:21 +0100 Subject: [PATCH] adding more targets to makefile --- Makefile | 10 ++++++++++ README | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/Makefile b/Makefile index bc19e4c..97aa1b9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ CC=g++ CFLAGS=-c -g -Wall CCFLAGS=-g -Wall +prefix=/usr/local + begin : main.o begin.o args.o $(CC) -o begin $(CCFLAGS) main.o begin.o args.o @@ -13,6 +15,14 @@ begin.o: begin.cxx begin.hpp args.o: args.cxx args.hpp $(CC) $(CFLAGS) args.cxx +install: begin + install -m 0755 begin $(prefix)/bin +uninstall: begin + rm $(prefix)/bin/begin clean: rm *.o begin + +.PHONY: install +.PHONY: uninstall + diff --git a/README b/README index e69de29..d2466ed 100644 --- a/README +++ b/README @@ -0,0 +1,9 @@ +This is a free implementation of the Cisco ios/asa/catalyst output modifier "begin" released under GNU GPL v.2 or any later version. + +http://www.cisco.com/en/US/docs/ios/preface/usingios.html#wp1012384 + +INSTALLATION +git clone git://github.com/mickenordin/begin.git +cd begin +make +make install