2012-01-23 21:59:12 +00:00
|
|
|
all: ssim vda vdad
|
2012-01-20 20:21:29 +00:00
|
|
|
|
2012-01-23 08:04:41 +00:00
|
|
|
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
|
|
|
|
|
2012-01-23 05:03:52 +00:00
|
|
|
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
|
2012-01-23 21:59:12 +00:00
|
|
|
vdad: vdad.cpp vda_lib.o
|
|
|
|
g++ -g $(CCFLAGS) -Wall -o vdad vdad.cpp vda_lib.o $(LIBS) $(MYSQL_LIBS)
|
2012-01-23 05:03:52 +00:00
|
|
|
vda: vda.cpp vda_lib.o
|
2012-01-23 08:04:41 +00:00
|
|
|
g++ -g $(CCFLAGS) -Wall -o vda vda.cpp vda_lib.o $(LIBS) $(MYSQL_LIBS)
|