Created
May 21, 2016 10:05
-
-
Save titsuki/15182a4d3793215e8b0fe434556040b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = %svmlight% | |
all: %DESTDIR%/resources/libraries/%svmlight% | |
clean: | |
rm %DESTDIR%/resources/libraries/%svmlight% | |
%DESTDIR%/resources/libraries/%svmlight%: svm_learn_main.o svm_learn.o svm_common.o svm_hideo.o | |
%CC% -g -shared %CCSHARED% %CCFLAGS% svm_learn_main.o svm_learn.o svm_common.o svm_hideo.o -o %DESTDIR%/resources/libraries/%svmlight% | |
svm_hideo.o: svm_hideo.c | |
%CC% -g -c %CCFLAGS% svm_hideo.c -o svm_hideo.o | |
svm_common.o: svm_common.c svm_common.h kernel.h | |
%CC% -g -c %CCFLAGS% svm_common.c -o svm_common.o | |
svm_learn.o: svm_learn.c svm_common.h | |
%CC% -g -c %CCFLAGS% svm_learn.c -o svm_learn.o | |
svm_learn_main.o: svm_learn_main.c svm_learn.h svm_common.h | |
%CC% -g -c %CCFLAGS% svm_learn_main.c -o svm_learn_main.o | |
svm_classify.o: svm_classify.c svm_common.h kernel.h | |
%CC% -g -c %CCFLAGS% 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