Added install

This commit is contained in:
zawz 2019-08-15 14:33:46 +02:00
parent 24afc71c1a
commit cbae47c692
2 changed files with 10 additions and 0 deletions

View file

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

View file

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