boinc/vda/makefile

17 lines
587 B
Makefile
Raw Normal View History

all: ssim vda vda_transitioner
CCFLAGS = -I /usr/include/mysql -I ../db -I ../lib
LIBS = ../sched/libsched.a ../lib/libboinc.a
MYSQL_LIBS = -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl
vda_lib.o: vda_lib.cpp vda_lib.h
g++ -c vda_lib.cpp
ssim: ssim.cpp des.h vda_lib.o
g++ -g -Wall -o ssim ssim.cpp vda_lib.o
vda_transitioner: vda_transitioner.cpp vda_lib.o
g++ -g $(CCFLAGS) -Wall -o vda_transitioner vda_transitioner.cpp vda_lib.o $(LIBS) $(MYSQL_LIBS)
vda: vda.cpp vda_lib.o
g++ -g $(CCFLAGS) -Wall -o vda vda.cpp vda_lib.o $(LIBS) $(MYSQL_LIBS)