mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 11:23:29 +00:00
improvement
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@340 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
PREFIX = /usr/milsko
|
PREFIX = /usr/local
|
||||||
|
|
||||||
ifeq ($(TARGET),)
|
ifeq ($(TARGET),)
|
||||||
TARGET = $(shell uname -s)
|
TARGET = $(shell uname -s)
|
||||||
@@ -166,6 +166,7 @@ install: lib oolib
|
|||||||
mkdir -p $(PREFIX)/lib
|
mkdir -p $(PREFIX)/lib
|
||||||
mkdir -p $(PREFIX)/bin
|
mkdir -p $(PREFIX)/bin
|
||||||
mkdir -p $(PREFIX)/include
|
mkdir -p $(PREFIX)/include
|
||||||
|
mkdir -p $(PREFIX)/share/doc/milsko
|
||||||
for i in src oosrc; do \
|
for i in src oosrc; do \
|
||||||
cp $$i/*.so $(PREFIX)/lib/ ; \
|
cp $$i/*.so $(PREFIX)/lib/ ; \
|
||||||
cp $$i/*.a $(PREFIX)/lib/ ; \
|
cp $$i/*.a $(PREFIX)/lib/ ; \
|
||||||
@@ -173,6 +174,7 @@ install: lib oolib
|
|||||||
done ; true
|
done ; true
|
||||||
cp -rf include/Mw $(PREFIX)/include/
|
cp -rf include/Mw $(PREFIX)/include/
|
||||||
cp -rf include/MwOO $(PREFIX)/include/
|
cp -rf include/MwOO $(PREFIX)/include/
|
||||||
|
cp -rf doc/* $(PREFIX)/share/doc/milsko/
|
||||||
|
|
||||||
format:
|
format:
|
||||||
clang-format --verbose -i `find oosrc src include examples tools "(" -name "*.c" -or -name "*.h" ")" -and -not -name "stb_*.h"`
|
clang-format --verbose -i `find oosrc src include examples tools "(" -name "*.c" -or -name "*.h" ")" -and -not -name "stb_*.h"`
|
||||||
|
|||||||
Reference in New Issue
Block a user