Makefile
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
- #-------------------------------------------------------------------------
- #
- # Makefile--
- # Makefile for regex
- #
- # IDENTIFICATION
- # $Header: /usr/local/cvsroot/pgsql/src/backend/regex/Makefile,v 1.9 1999/05/21 06:27:54 ishii Exp $
- #
- #-------------------------------------------------------------------------
- SRCDIR = ../..
- include ../../Makefile.global
- CFLAGS += -I..
- CFLAGS += -DPOSIX_MISTAKE
- DEBUGOBJ =
- OBJS = regcomp.o regerror.o regexec.o regfree.o
- ifdef MULTIBYTE
- CFLAGS+= $(MBFLAGS)
- DEBUGOBJ += ../utils/mb/SUBSYS.o
- endif
- all: SUBSYS.o
- SUBSYS.o: $(OBJS)
- $(LD) -r -o SUBSYS.o $(OBJS)
- retest: retest.o SUBSYS.o $(DEBUGOBJ)
- $(CC) -o retest retest.o SUBSYS.o $(DEBUGOBJ)
- depend dep:
- $(CC) -MM $(CFLAGS) *.c >depend
- clean:
- rm -f SUBSYS.o $(OBJS) retest retest.o
- ifeq (depend,$(wildcard depend))
- include depend
- endif