Makefile
上传用户:xgw_05
上传日期:2014-12-08
资源大小:2726k
文件大小:1k
- CC = gcc
- CXXC = g++
- CFLAGS = -Wall -O3 -g `gtk-config --cflags`
- LIBS = `gtk-config --libs`
- svm-toy: main.o interface.o callbacks.o ../../svm.o
- $(CXXC) $(CFLAGS) main.o interface.o callbacks.o ../../svm.o -o svm-toy $(LIBS)
- main.o: main.c
- $(CC) $(CFLAGS) -c main.c
- interface.o: interface.c interface.h
- $(CC) $(CFLAGS) -c interface.c
- callbacks.o: callbacks.cpp callbacks.h
- $(CXXC) $(CFLAGS) -c callbacks.cpp
- ../../svm.o:
- cd ../..; make svm.o
- clean:
- rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o