2012-01-23 21:59:12 +00:00
|
|
|
all: ssim vda vdad
|
2012-01-20 20:21:29 +00:00
|
|
|
|
2012-02-10 22:54:00 +00:00
|
|
|
CCFLAGS = -I /usr/include/mysql -I ../db -I ../lib -I ../db
|
2012-01-23 08:04:41 +00:00
|
|
|
|
|
|
|
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
|
2012-02-10 22:54:00 +00:00
|
|
|
g++ -c $(CCFLAGS) vda_lib.cpp
|
2012-02-13 08:41:48 +00:00
|
|
|
vda_lib2.o: vda_lib2.cpp vda_lib.h
|
|
|
|
g++ -c $(CCFLAGS) vda_lib2.cpp
|
2012-01-23 05:03:52 +00:00
|
|
|
ssim: ssim.cpp des.h vda_lib.o
|
2012-02-10 22:54:00 +00:00
|
|
|
g++ -g $(CCFLAGS) -Wall -o ssim ssim.cpp vda_lib.o
|
2012-02-13 08:41:48 +00:00
|
|
|
vdad: vdad.cpp vda_lib.o vda_lib2.o
|
|
|
|
g++ -g $(CCFLAGS) -Wall -o vdad vdad.cpp vda_lib.o vda_lib2.o $(LIBS) $(MYSQL_LIBS)
|
|
|
|
vda: vda.cpp vda_lib.o vda_lib2.o
|
|
|
|
g++ -g $(CCFLAGS) -Wall -o vda vda.cpp vda_lib.o vda_lib2.o $(LIBS) $(MYSQL_LIBS)
|