Initial import
[zanchey/dispense2.git] / sql-edition / syslog / Makefile
diff --git a/sql-edition/syslog/Makefile b/sql-edition/syslog/Makefile
new file mode 100644 (file)
index 0000000..d600364
--- /dev/null
@@ -0,0 +1,11 @@
+CC = gcc
+INCLUDES = -I$(shell pg_config --includedir) -I$(shell pg_config --includedir-server)
+CFLAGS = $(INCLUDES) -Wall -O2
+
+all: pg_syslog.so
+
+pg_syslog.so: pg_syslog.o
+       gcc -shared -o $@ $<
+
+clean:
+       rm -f *.o *.so

UCC git Repository :: git.ucc.asn.au