Skip to content

Instantly share code, notes, and snippets.

@titsuki
Created May 21, 2016 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save titsuki/51c9ed6efbe72d7cf3006897d5af402c to your computer and use it in GitHub Desktop.
Save titsuki/51c9ed6efbe72d7cf3006897d5af402c to your computer and use it in GitHub Desktop.
name = libsvmlight.so
all: /home/itoyota/Programs/p6-Algorithm-SVMLight/resources/libraries/libsvmlight.so
clean:
rm /home/itoyota/Programs/p6-Algorithm-SVMLight/resources/libraries/libsvmlight.so
/home/itoyota/Programs/p6-Algorithm-SVMLight/resources/libraries/libsvmlight.so: svm_learn_main.o svm_learn.o svm_common.o svm_hideo.o
gcc -g -shared -fPIC -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_learn_main.o svm_learn.o svm_common.o svm_hideo.o -o /home/itoyota/Programs/p6-Algorithm-SVMLight/resources/libraries/libsvmlight.so
svm_hideo.o: svm_hideo.c
gcc -g -c -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_hideo.c -o svm_hideo.o
svm_common.o: svm_common.c svm_common.h kernel.h
gcc -g -c -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_common.c -o svm_common.o
svm_learn.o: svm_learn.c svm_common.h
gcc -g -c -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_learn.c -o svm_learn.o
svm_learn_main.o: svm_learn_main.c svm_learn.h svm_common.h
gcc -g -c -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_learn_main.c -o svm_learn_main.o
svm_classify.o: svm_classify.c svm_common.h kernel.h
gcc -g -c -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC svm_classify.c -o svm_classify.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment