adding more targets to makefile
This commit is contained in:
parent
7953b18c3d
commit
5b0655cb20
2 changed files with 19 additions and 0 deletions
10
Makefile
10
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
|
||||
|
||||
|
|
9
README
9
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
|
Loading…
Add table
Reference in a new issue