summaryrefslogtreecommitdiff
path: root/libodbcpp/makefile.in
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
committerrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
commitefd292508070835781a0d92448a3661279dfd307 (patch)
tree0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/makefile.in
parentFix the C++ template errors (diff)
downloadlibdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip
Lots of little fixes
Diffstat (limited to 'libodbcpp/makefile.in')
-rw-r--r--libodbcpp/makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/libodbcpp/makefile.in b/libodbcpp/makefile.in
index 93b361b..fc4c341 100644
--- a/libodbcpp/makefile.in
+++ b/libodbcpp/makefile.in
@@ -1,11 +1,13 @@
-default : libodbcpp.so libodbcpp.a
+MYCXXFLAGS=$(CXXFLAGS) -c
+MYLDFLAGS=$(LDFLAGS)
+ALL=libodbcpp.a
OBJS = \
error.o \
connection.o \
dsn.o \
command.o \
- string.o \
+ ustring.o \
bind.o \
param.o \
column.o \
@@ -13,14 +15,12 @@ OBJS = \
modifycommand.o \
selectcommand.o
-libodbcpp.so : ${OBJS}
- ${CXX} -shared -o $@ ${OBJS} -lodbc
libodbcpp.a : ${OBJS}
ar rc $@ ${OBJS}
+%.o : %.cpp
+ $(CXX) $(MYCXXFLAGS) -o $@ $<
.PHONY: clean
-.PHONY: reallyclean
+
clean:
- rm -f *.o *.a *.so
-reallyclean: clean
- rm makefile
+ rm -f ${OBJS} ${ALL}