makefile

来自「关系型数据库 Postgresql 6.5.2」· 代码 · 共 30 行

TXT
30
字号
## Makefile for example programs#SRCDIR= ../..include ../../Makefile.globalCFLAGS+= -I$(LIBPQDIR)LDFLAGS+= -L$(LIBPQDIR) -lpq ## And where libpq goes, so goes the authentication stuff...#ifdef KRBVERSLDFLAGS+= $(KRBLIBS)CFLAGS+= $(KRBFLAGS)endif# PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testloPROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo2all: $(PROGS)$(PROGS): % : %.c 	$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)clean: 	rm -f $(PROGS)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?