Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (33 sloc) 1.215 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
all: ../lib/mymedialite
xbuild /p:Configuration=Debug MyMediaLite-nogui.sln
cp -r Programs/ItemRecommendation/bin/Debug/*.dll ../lib/mymedialite
cp -r Programs/ItemRecommendation/bin/Debug/*.exe ../lib/mymedialite
cp -r Programs/ItemRecommendation/bin/Debug/*.mdb ../lib/mymedialite
cp -r Programs/RatingPrediction/bin/Debug/*.mdb ../lib/mymedialite
cp -r Programs/RatingPrediction/bin/Debug/*.exe ../lib/mymedialite
cp -r Programs/RatingBasedRanking/bin/Debug/*.mdb ../lib/mymedialite
cp -r Programs/RatingBasedRanking/bin/Debug/*.exe ../lib/mymedialite

../lib/mymedialite:
mkdir ../lib/mymedialite

clean:
rm -f */bin/Debug/*
rm -f */bin/Release/*
rm -f */*/bin/Debug/*
rm -f */*/bin/Release/*
rm -rf */obj
rm -rf */*/obj

${PREFIX}/lib:
mkdir ${PREFIX}/lib

${PREFIX}/bin:
mkdir ${PREFIX}/bin

install: uninstall ${PREFIX}/lib ${PREFIX}/bin
mkdir ${PREFIX}/lib/mymedialite
cp ../lib/mymedialite/* ${PREFIX}/lib/mymedialite
cp ../bin/* ${PREFIX}/bin

uninstall:
rm -rf ${PREFIX}/lib/mymedialite
rm -rf ${PREFIX}/bin/item_recommendation
rm -rf ${PREFIX}/bin/rating_prediction
rm -rf ${PREFIX}/bin/rating_based_ranking

test:
nunit-console --run=Tests MyMediaLite-nogui.sln --config=Debug
Something went wrong with that request. Please try again.