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