Skip to content

Commit 54d936f

Browse files
committed
fix the Makefile in the ./svm-toy/qt
1 parent 78ebd2e commit 54d936f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

svm-toy/qt/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
CXX? = g++
2-
CFLAGS = -Wall -O3 -I$(INCLUDE) -I$(INCLUDE)/QtGui -lQtGui
32
INCLUDE = /usr/include/qt4
3+
CFLAGS = -Wall -O3 -I$(INCLUDE) -I$(INCLUDE)/QtGui -I$(INCLUDE)/QtCore
4+
LIB = -lQtGui -lQtCore
45
MOC = /usr/bin/moc-qt4
56

67
svm-toy: svm-toy.cpp svm-toy.moc ../../svm.o
7-
$(CXX) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy
8+
$(CXX) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy $(LIB)
89

910
svm-toy.moc: svm-toy.cpp
1011
$(MOC) svm-toy.cpp -o svm-toy.moc

0 commit comments

Comments
 (0)