adding more targets to makefile

This commit is contained in:
Micke Nordin 2011-12-23 11:32:21 +01:00
parent 7953b18c3d
commit 5b0655cb20
2 changed files with 19 additions and 0 deletions

View file

@ -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

9
README
View file

@ -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