Added install
This commit is contained in:
parent
24afc71c1a
commit
cbae47c692
2 changed files with 10 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -44,5 +44,9 @@ static: $(OBJ)
|
|||
shared: $(OBJ_SHARED)
|
||||
$(CC) -shared -o libztd.so $^
|
||||
|
||||
install: all
|
||||
mv libztd.a libztd.so /usr/lib
|
||||
cp -r include /usr/include/ztd
|
||||
|
||||
clean:
|
||||
rm $(ODIR)/*.o $(ODIR_SHARED)/*.o
|
||||
|
|
|
|||
|
|
@ -10,3 +10,9 @@ zawz's standard C++ library. Tools for easier coding
|
|||
## Documentation
|
||||
|
||||
Use ``doxygen`` to generate HTML documentation files
|
||||
|
||||
## Installing
|
||||
|
||||
``sudo make install``
|
||||
Moves ``libztd.a`` and ``libztd.so`` to ``/usr/lib``
|
||||
Copies headers to ``/usr/include/ztd``
|
||||
|
|
|
|||
Loading…
Reference in a new issue