Makefile
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:0k
- #
- # Makefile for example programs
- #
- SRCDIR= ../..
- include ../../Makefile.global
- CFLAGS+= -I$(LIBPQDIR)
- LDFLAGS+= -L$(LIBPQDIR) -lpq
- #
- # And where libpq goes, so goes the authentication stuff...
- #
- ifdef KRBVERS
- LDFLAGS+= $(KRBLIBS)
- CFLAGS+= $(KRBFLAGS)
- endif
- # PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
- PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo2
- all: $(PROGS)
- $(PROGS): % : %.c
- $(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
- clean:
- rm -f $(PROGS)