mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-05-01 22:18:10 +08:00
17 lines
275 B
Makefile
17 lines
275 B
Makefile
liblinear: tron.o linear.o blas.a
|
|
$(CXX) -shared -o linear.dll tron.o linear.o blas/blas.a
|
|
|
|
tron.o: tron.cpp
|
|
$(CXX) -fpic -c tron.cpp -o tron.o
|
|
|
|
linear.o: linear.cpp
|
|
$(CXX) -fpic -c linear.cpp -o linear.o
|
|
|
|
blas.a:
|
|
make -C blas
|
|
|
|
clean:
|
|
$(RM) *.o
|
|
make -C blas clean
|
|
|