@@ -1,6 +1,6 @@
--- Makefile.orig 2008-12-01 10:57:44.000000000 +0100
-+++ Makefile 2008-12-01 22:41:19.000000000 +0100
-@@ -10,9 +10,14 @@
++++ Makefile 2008-12-01 22:58:36.000000000 +0100
+@@ -10,15 +10,20 @@
# here's what you may need to change
DEF=-DNEED_POSTGRES -DNEED_MYSQL
@@ -18,3 +18,10 @@
# the default target
all: mod_accounting.so
+ # compile the DSO file
+ mod_accounting.so: mod_accounting.c postgres.c mysql.c
+- $(APXS) -Wc,-Wall -Wc,-Werror -Wc,-g -c $(DEF) $(INC) $(LIB) mod_accounting.c postgres.c mysql.c
++ $(APXS) -Wc,-Wall -Wc,-g -c $(DEF) $(INC) $(LIB) mod_accounting.c postgres.c mysql.c
+
+ # install the DSO file into the Apache installation
+ # and activate it in the Apache configuration
|