Added makefile
Changed defines to support linux Fixed types
This commit is contained in:
parent
521cbe335f
commit
a068c34862
18
makefile
Normal file
18
makefile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
start:
|
||||||
|
$(info No recipe specified!)
|
||||||
|
|
||||||
|
xmath:
|
||||||
|
mkdir -p build/include
|
||||||
|
mkdir -p build/lib
|
||||||
|
mkdir -p XMath/intermediate
|
||||||
|
g++ -c XMath/BigInteger.cpp -o XMath/intermediate/BigInteger.o
|
||||||
|
g++ -c XMath/Matrix.cpp -o XMath/intermediate/Matrix.o
|
||||||
|
ar rcs build/lib/libxmath.a XMath/intermediate/*
|
||||||
|
cp XMath/*.h* build/include/
|
||||||
|
rm -r XMath/intermediate/
|
||||||
|
|
||||||
|
clean:
|
||||||
|
mkdir -p build
|
||||||
|
rm -r build
|
||||||
|
mkdir -p XMath/intermediate
|
||||||
|
rm -r XMath/intermediate
|
Loading…
x
Reference in New Issue
Block a user