adding more targets to makefile

master
Micke Nordin 13 years ago
parent 7953b18c3d
commit 5b0655cb20

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

@ -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…
Cancel
Save