File: Makefile

package info (click to toggle)
pgeasy 1%3A3.0.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,996 kB
  • ctags: 48
  • sloc: sh: 7,058; ansic: 574; makefile: 22
file content (23 lines) | stat: -rw-r--r-- 562 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#-------------------------------------------------------------------------
#
# Makefile
#    Makefile for pgeasy examples
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgeasy/libpgeasy/examples/Makefile,v 1.5 2002/11/27 04:06:09 bmomjian Exp $
#
#-------------------------------------------------------------------------

POSTGRES_HOME=/usr/local/pgsql

CFLAGS= -O
TARGET = pginsert pgwordcount pgnulltest pgmultiresult

all : $(TARGET)

%: %.c
	gcc $(CFLAGS) -I$(POSTGRES_HOME)/include -o $@ $@.c -L$(POSTGRES_HOME)/lib -lpgeasy

clean:
	rm -f $(TARGET)