mirror of https://github.com/BOINC/boinc.git
35 lines
514 B
Makefile
35 lines
514 B
Makefile
DEPTH = ..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
VERSION = 1
|
|
|
|
MYSQL_DIR = /usr/local/mysql/include
|
|
|
|
CFLAGS = -g -Wall @DEFS@ \
|
|
-DHOSTTYPE=\"@host@\" \
|
|
-DVERSION=$(VERSION) \
|
|
-I $(MYSQL_DIR) \
|
|
-pedantic
|
|
|
|
CC = @CC@ $(CFLAGS)
|
|
|
|
LIBS = ../api/api.o
|
|
|
|
CLIBS = @LIBS@
|
|
|
|
.C.o:
|
|
$(CC) -c -o $*.o $<
|
|
|
|
all: db_mysql.o mysql_util.o
|
|
|
|
clean:
|
|
rm -f dependencies *.o Makefile
|
|
|
|
dependencies: @srcdir@/*.C
|
|
$(CC) -M @srcdir@/*.C > dependencies
|
|
|
|
include dependencies
|
|
|