File: Makefile

package info (click to toggle)
dak 1.0-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,472 kB
  • ctags: 913
  • sloc: python: 10,011; sh: 878; sql: 240; makefile: 63; perl: 38; cpp: 24
file content (17 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

CXXFLAGS	= -I/usr/include/postgresql/ -I/usr/include/postgresql/server -fPIC -Wall
CFLAGS		= -fPIC -Wall
LDFLAGS		= -fPIC
LIBS		= -lapt-pkg

C++		= g++

all: sql-aptvc.so

sql-aptvc.o: sql-aptvc.cpp
sql-aptvc.so: sql-aptvc.o
	$(C++) $(LDFLAGS) $(LIBS) -shared -o $@ $<
clean:
	rm -f sql-aptvc.so sql-aptvc.o