]> git.decadent.org.uk Git - dak.git/blob - src/Makefile
Changelog
[dak.git] / src / Makefile
1 #!/usr/bin/make -f
2
3 CXXFLAGS        = -I/usr/include/postgresql/ -I/usr/include/postgresql/server/ -fPIC -Wall
4 CFLAGS          = -fPIC -Wall
5 LDFLAGS         = -fPIC
6 LIBS            = -lapt-pkg
7
8 C++             = g++
9
10 all: sql-aptvc.so
11
12 sql-aptvc.o: sql-aptvc.cpp
13 sql-aptvc.so: sql-aptvc.o
14         $(CC) $(LDFLAGS) $(LIBS) -shared -o $@ $<
15 clean:
16         rm -f sql-aptvc.so sql-aptvc.o
17