Moved install location

This commit is contained in:
zawz 2019-08-15 15:18:27 +02:00
parent 6eeadea52f
commit 28bc37cef2
2 changed files with 6 additions and 6 deletions

View file

@ -45,12 +45,12 @@ shared: $(OBJ_SHARED)
$(CC) -shared -o libztd.so $^
install: all
mv libztd.a libztd.so /usr/local/lib
cp -r include /usr/local/include/ztd
mv libztd.a libztd.so /usr/lib
cp -r include /usr/include/ztd
uninstall:
rm /usr/local/lib/libztd.*
rm -rd /usr/local/include/ztd
rm /usr/lib/libztd.*
rm -rd /usr/include/ztd
clean:
rm $(ODIR)/*.o $(ODIR_SHARED)/*.o

View file

@ -14,5 +14,5 @@ Use ``doxygen`` to generate HTML documentation files
## Installing
``sudo make install``
Moves ``libztd.a`` and ``libztd.so`` to ``/usr/local/lib``
Copies headers to ``/usr/local/include/ztd``
Moves ``libztd.a`` and ``libztd.so`` to ``/usr/lib``
Copies headers to ``/usr/include/ztd``