makefile

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

TXT
34
字号
## Makefile for example programs#SRCDIR= ../..include ../../Makefile.global## And where libpq goes, so goes the authentication stuff...#ifdef KRBVERSLDFLAGS+= $(KRBLIBS)CFLAGS+= $(KRBFLAGS)endifPROGS = test-pgsql-locale test-ctypeDIRS = koi8-r ISO8859-7 koi8-to-win1251all: $(PROGS)$(PROGS): % : %.c 	$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)clean: 	rm -f $(PROGS) *.out	for d in $(DIRS); do \		cd $$d; \		$(MAKE) clean; \		cd ..; \	donetest-%: all	@cd `echo $@ | sed 's/^test-//'` && $(MAKE) test

⌨️ 快捷键说明

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