1 # -*- Mode: Makefile -*-
2 ###########################################################################
6 # Purpose: Makefile for the CLSQL UFFI helper package (MSVC)
7 # Author: Kevin M. Rosenberg
10 # This file, part of CLSQL, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
12 # CLSQL users are granted the rights to distribute and use this software
13 # as governed by the terms of the Lisp Lesser GNU Public License
14 # (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15 ###########################################################################
20 # Set to the directory where you have installed mysql's library
21 MYSQL_DIR=c:/Program Files/MySQL/MySQL Server 5.1/
22 MYSQL_LIB_FILE=$(MYSQL_DIR)lib\opt\mysqlclient.lib
23 MYSQL_INCLUDE=$(MYSQL_DIR)include
25 # Nothing to configure beyond here
33 $(DLL): $(SRC) $(MYSQL_LIB_FILE)
35 echo $(MYSQL_LIB_FILE)
36 cl /MD /LD -D_MT /DWIN32=1 /D__LCC__=1 /I"$(MYSQL_INCLUDE)" $(SRC) $(MYSQL_LIB_FILE)
37 del $(OBJ) $(BASE).exp